update default imports

This commit is contained in:
goeranh 2026-02-27 20:28:08 +01:00
parent 5c82694beb
commit 28464391dc
No known key found for this signature in database
2 changed files with 29 additions and 13 deletions

View file

@ -25,10 +25,6 @@ let
in in
{ {
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
networking.nameservers = [ networking.nameservers = [
"9.9.9.9" "9.9.9.9"
"1.1.1.1" "1.1.1.1"
@ -36,7 +32,21 @@ in
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
nix.settings.trusted-users = [ "administration" ]; nix = {
settings = {
experimental-features = [
"nix-command"
"flakes"
];
trusted-users = [ "administration" ];
auto-optimise-store = true;
};
optimise.automatic = true;
gc = {
automatic = true;
options = "--delete-older-than 42d";
};
};
networking.domain = "htw.stura-dresden.de"; networking.domain = "htw.stura-dresden.de";

View file

@ -117,13 +117,19 @@
// { // {
"${input}" = nixpkgs.lib.nixosSystem { "${input}" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules =
let
modulesPath = "${nixpkgs}";
in
[
./hosts/${input} ./hosts/${input}
./hosts/${input}/hetzner-disk.nix
./default.nix ./default.nix
disko.nixosModules.disko disko.nixosModules.disko
authentik.nixosModules.default authentik.nixosModules.default
mailserver.nixosModules.mailserver mailserver.nixosModules.mailserver
{
_module.args = { inherit modulesPath; };
}
]; ];
}; };
} }