major cleanup

This commit is contained in:
jacekpoz 2024-07-16 00:26:09 +02:00
parent a2e26298af
commit 09b862349f
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8
54 changed files with 55 additions and 57 deletions

View file

@ -1,4 +1,4 @@
_: {
{
imports = [
./services
./trollface.pl

View file

@ -1,4 +1,4 @@
_: {
{
imports = [
../../options/boot/systemd-boot.nix
../../options/common/binary-caches.nix

View file

@ -45,4 +45,3 @@ in {
];
};
}

View file

@ -1,4 +1,4 @@
_: {
{
imports = [
./anki-sync-server.nix
./conduit.nix

View file

@ -1,4 +1,4 @@
_: {
{
services.freshrss = {
enable = true;
baseUrl = "http://f.jacekpoz.pl";

View file

@ -1,4 +1,4 @@
_: {
{
services.grafana = {
enable = true;
settings.server = {

View file

@ -1,4 +1,4 @@
_: {
{
services.i2pd = {
enable = true;
ifname = "enp6s0";

View file

@ -1,4 +1,4 @@
_: {
{
services.ntfy-sh = {
enable = true;
settings = {

View file

@ -1,4 +1,4 @@
_: {
{
services.restic = {
server = {
enable = true;

View file

@ -1,4 +1,4 @@
_: {
{
users.users.stalwart = {
isSystemUser = true;
group = "stalwart";

View file

@ -1,5 +1,8 @@
_: {
services.caddy.virtualHosts."sudo-parental-control.jacekpoz.pl".extraConfig = ''
reverse_proxy localhost:8000
'';
{
services.caddy = {
enable = true;
virtualHosts."sudo-parental-control.jacekpoz.pl".extraConfig = ''
reverse_proxy localhost:8000
'';
};
}

View file

@ -1,4 +1,4 @@
_: {
{
services.transmission = {
enable = true;
home = "/media/Torrent";

View file

@ -1,4 +1,4 @@
_: {
{
myOptions.other.system = {
hostname = "chmura";
username = "chmura";

View file

@ -1,4 +1,4 @@
_ : {
{
services.caddy = {
enable = true;
virtualHosts."trollface.pl".extraConfig = ''

View file

@ -1,4 +1,4 @@
_: {
{
imports = [
./quickshell
./configuration.nix

View file

@ -1,4 +1,4 @@
_: {
{
myOptions.programs.git = {
enable = true;
userName = "jacekpoz";

View file

@ -1,4 +1,4 @@
_: {
{
imports = [
../../options/boot/systemd-boot.nix
../../options/common/binary-caches.nix

View file

@ -1,4 +1,4 @@
_: {
{
myOptions.programs.quickshell = {
enable = true;
enabledConfigs = [

View file

@ -1,4 +1,4 @@
_: {
{
myOptions.services.ssh = {
daemon.enable = false;
agent = {

View file

@ -1,4 +1,4 @@
_: {
{
myOptions.other = {
system = {
hostname = "niks";

View file

@ -1,4 +1,4 @@
_: {
{
imports = [
./quickshell
./configuration.nix

View file

@ -1,4 +1,4 @@
_: {
{
myOptions.programs.git = {
enable = true;
userName = "jacekpoz";

View file

@ -1,4 +1,4 @@
_: {
{
imports = [
../../options/boot/systemd-boot.nix
../../options/common/binary-caches.nix

View file

@ -1,4 +1,4 @@
_: {
{
myOptions.programs.quickshell = {
enable = true;
enabledConfigs = [

View file

@ -1,4 +1,4 @@
_: {
{
services.restic.backups = {
chmuraBackup = {
extraOptions = [

View file

@ -1,4 +1,4 @@
_: {
{
myOptions.services.ssh = {
daemon.enable = false;
agent = {

View file

@ -1,4 +1,4 @@
_: {
{
myOptions.other = {
system = {
hostname = "niks";

View file

@ -1,4 +1,4 @@
_: {
{
imports = [
./agenix.nix
./git.nix

View file

@ -1,4 +1,4 @@
_: {
{
imports = [
./cli
./gui
@ -7,4 +7,3 @@ _: {
./tui
];
}

View file

@ -1,4 +1,4 @@
_: {
{
imports = [
./hypr
./quickshell

View file

@ -22,6 +22,7 @@ in {
environment.sessionVariables = {
TERM = "foot";
};
home-manager.users.${username} = {
programs.foot = {
enable = true;

View file

@ -12,7 +12,6 @@ in {
options.myOptions.programs.gtklock.enable = mkEnableOption "gtklock";
config = mkIf cfg.enable {
# https://github.com/NixOS/nixpkgs/issues/158025
security.pam.services.gtklock.text = "auth include login";

View file

@ -1,4 +1,4 @@
_: {
{
imports = [
./idle.nix
./land.nix

View file

@ -13,7 +13,6 @@ in {
options.myOptions.programs.swaylock.enable = mkEnableOption "swaylock";
config = mkIf cfg.enable {
# https://github.com/NixOS/nixpkgs/issues/158025
security.pam.services.swaylock.text = "auth include login";

View file

@ -1,4 +1,4 @@
_: {
{
imports = [
./hardware.nix
./home-manager.nix

View file

@ -5,7 +5,6 @@
inherit (config.myOptions.other.system) username;
hmCfg = config.home-manager.users.${username};
in {
environment.sessionVariables = {
ANDROID_HOME = "${hmCfg.xdg.dataHome}/android";
CARGO_HOME = "${hmCfg.xdg.dataHome}/cargo";

View file

@ -1,4 +1,4 @@
_: {
{
imports = [
./dunst.nix
./greetd.nix

View file

@ -1,4 +1,4 @@
_: {
{
imports = [
./btop.nix
./helix.nix

View file

@ -1,4 +1,4 @@
_: {
{
boot.loader = {
systemd-boot = {
enable = true;

View file

@ -1,4 +1,4 @@
_: {
{
nix.settings = {
substituters = [
"https://nix-community.cachix.org"

View file

@ -1,4 +1,4 @@
_: {
{
hardware.cpu.amd.updateMicrocode = true;
boot.initrd.kernelModules = [ "amdgpu" ];

View file

@ -1,3 +1,3 @@
_: {
{
services.thermald.enable = true;
}

View file

@ -1,4 +1,4 @@
_: {
{
# neovim supremacy
programs.nano.enable = false;
}

View file

@ -1,4 +1,4 @@
_: {
{
services = {
btrfs.autoScrub = {
enable = true;

View file

@ -19,5 +19,4 @@
users.users.${config.myOptions.other.system.username} = {
extraGroups = [ "libvirtd" ];
};
}

View file

@ -1,4 +1,4 @@
_: {
{
systemd.oomd = {
enable = true;
enableSystemSlice = true;

View file

@ -1,3 +1,3 @@
_: {
{
time.timeZone = "Europe/Warsaw";
}

View file

@ -1,4 +1,4 @@
_: {
{
services.asusd = {
enable = true;
enableUserService = true;

View file

@ -1,4 +1,4 @@
_: {
{
hardware.bluetooth = {
enable = true;
input.General.ClassicBondedOnly = true;

View file

@ -1,4 +1,4 @@
_: {
{
environment.sessionVariables = {
MALLOC_PERTURB_ = "$(($(head -200 /dev/urandom | cksum | cut -f1 -d ' ') % 255 + 1))";
};

View file

@ -1,4 +1,4 @@
_: {
{
hardware.opentabletdriver = {
enable = true;
daemon.enable = true;

View file

@ -1,3 +1,3 @@
_: {
{
networking.networkmanager.wifi.macAddress = "random";
}

View file

@ -1,3 +1,3 @@
_: {
{
virtualisation.waydroid.enable = true;
}

View file

@ -1,4 +1,4 @@
_: {
{
environment.sessionVariables = {
NIXOS_OZONE_WL = "1";
};