there's no way this could go wrong!

This commit is contained in:
Gerg-L 2023-12-04 20:22:56 -05:00
parent da39d7792d
commit 28f72dee5b
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI
31 changed files with 36 additions and 32 deletions

View file

@ -121,5 +121,5 @@ _:
]; ];
system.stateVersion = "23.05"; system.stateVersion = "23.05";
_file = ./main.nix; #_file
} }

View file

@ -23,5 +23,5 @@ _:
commit.gpgsign = true; commit.gpgsign = true;
}; };
}; };
_file = ./git.nix; #_file
} }

View file

@ -191,5 +191,5 @@
}; };
system.stateVersion = "23.05"; system.stateVersion = "23.05";
_file = ./main.nix; #_file
} }

View file

@ -30,5 +30,5 @@ _:
createDatabase = true; createDatabase = true;
}; };
}; };
_file = ./gitea.nix; #_file
} }

View file

@ -100,5 +100,5 @@
''; '';
}; };
}; };
_file = ./minecraft.nix; #_file
} }

View file

@ -20,5 +20,5 @@ _:
defaultPhoneRegion = "US"; defaultPhoneRegion = "US";
}; };
}; };
_file = ./nextcloud.nix; #_file
} }

View file

@ -67,5 +67,5 @@ _:
80 80
443 443
]; ];
_file = ./nginx.nix; #_file
} }

View file

@ -19,5 +19,5 @@ _:
RestartSec = "30s"; RestartSec = "30s";
}; };
}; };
_file = ./parrot.nix; #_file
} }

View file

@ -19,5 +19,5 @@ _:
settings.unix_socket_permissions = "0770"; settings.unix_socket_permissions = "0770";
}; };
_file = ./postgresql.nix; #_file
} }

View file

@ -36,5 +36,5 @@ _:
ui.theme_args.simple_style = "dark"; ui.theme_args.simple_style = "dark";
}; };
}; };
_file = ./searxng.nix; #_file
} }

View file

@ -31,5 +31,5 @@ in
misc = "282a36"; misc = "282a36";
}; };
}; };
_file = ./spicetify.nix; #_file
} }

View file

@ -193,5 +193,5 @@ in
"L+ /var/lib/libvirt/hooks/qemu - - - - ${lib.getExe qemuHook}" "L+ /var/lib/libvirt/hooks/qemu - - - - ${lib.getExe qemuHook}"
"L+ /var/lib/libvirt/qemu/Windows.xml - - - - ${./Windows.xml}" "L+ /var/lib/libvirt/qemu/Windows.xml - - - - ${./Windows.xml}"
]; ];
_file = ./vfio.nix; #_file
} }

View file

@ -78,5 +78,5 @@ _:
}; };
}; };
}; };
_file = ./zfs.nix; #_file
} }

View file

@ -42,5 +42,5 @@
}; };
sound.enable = false; sound.enable = false;
_file = ./default.nix; #_file
} }

View file

@ -87,5 +87,5 @@ _:
size = 8 * 1024; size = 8 * 1024;
} }
]; ];
_file = ./main.nix; #_file
} }

View file

@ -44,7 +44,11 @@ rec {
(lib.removeSuffix ".nix") (lib.removeSuffix ".nix")
(lib.removePrefix "${toString path}/") (lib.removePrefix "${toString path}/")
]; ];
value = name; value = lib.pipe name [
builtins.readFile
(builtins.replaceStrings (lib.singleton "#_f") (lib.singleton ''_file = "${name}";''))
(builtins.toFile (builtins.baseNameOf path))
];
}) })
(listNixFilesRecursive path) (listNixFilesRecursive path)
); );
@ -149,5 +153,5 @@ rec {
)) ))
]; ];
_file = ./default.nix; #_file
} }

View file

@ -110,5 +110,5 @@
''; '';
}; };
}; };
_file = ./dwm.nix; #_file
} }

View file

@ -48,5 +48,5 @@ _:
displayManager.defaultSession = "gnome"; displayManager.defaultSession = "gnome";
}; };
}; };
_file = ./gnome.nix; #_file
} }

View file

@ -19,5 +19,5 @@ _:
displayManager.defaultSession = "xfce"; displayManager.defaultSession = "xfce";
}; };
}; };
_file = ./xfce.nix; #_file
} }

View file

@ -17,5 +17,5 @@ _:
}; };
}; };
}; };
_file = ./autoLogin.nix; #_file
} }

View file

@ -43,5 +43,5 @@
}; };
}; };
}; };
_file = ./lightDM.nix; #_file
} }

View file

@ -10,5 +10,5 @@ _:
excludePackages = [pkgs.xterm]; excludePackages = [pkgs.xterm];
desktopManager.xterm.enable = false; desktopManager.xterm.enable = false;
}; };
_file = ./X11.nix; #_file
} }

View file

@ -85,5 +85,5 @@
''; '';
}; };
}; };
_file = ./misc.nix; #_file
} }

View file

@ -97,5 +97,5 @@ _:
} }
) )
]; ];
_file = ./builders.nix; #_file
} }

View file

@ -41,5 +41,5 @@ in
}; };
} }
]; ];
_file = ./hardware.nix; #_file
} }

View file

@ -12,5 +12,5 @@ _:
gerg-desktop_fingerprint = "BQxvBOWsTw1gdNDR0KzrSRmbVhDrJdG05vYXkVmw8yA"; gerg-desktop_fingerprint = "BQxvBOWsTw1gdNDR0KzrSRmbVhDrJdG05vYXkVmw8yA";
gerg_gerg-desktop = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJWbwkFJmRBgyWyWU+w3ksZ+KuFw9uXJN3PwqqE7Z/i8"; gerg_gerg-desktop = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJWbwkFJmRBgyWyWU+w3ksZ+KuFw9uXJN3PwqqE7Z/i8";
}; };
_file = ./keys.nix; #_file
} }

View file

@ -59,5 +59,5 @@ _:
# Useless with flakes (without configuring) # Useless with flakes (without configuring)
programs.command-not-found.enable = false; programs.command-not-found.enable = false;
}; };
_file = ./misc.nix; #_file
} }

View file

@ -56,5 +56,5 @@ inputs:
use-xdg-base-directories = true; use-xdg-base-directories = true;
auto-allocate-uids = true; auto-allocate-uids = true;
}; };
_file = ./nix.nix; #_file
} }

View file

@ -159,5 +159,5 @@
}; };
}; };
}; };
_file = ./shell.nix; #_file
} }

View file

@ -15,5 +15,5 @@
age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"]; age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
}; };
}; };
_file = ./sops.nix; #_file
} }

View file

@ -98,5 +98,5 @@ in
}; };
}) })
]; ];
_file = ./theming.nix; #_file
} }