host<name>/default.nix -> host/<name>/main.nix

add _file in all modules
This commit is contained in:
Gerg-L 2023-07-26 12:32:10 -04:00
parent bcea731103
commit 14726d5c6d
33 changed files with 36 additions and 0 deletions

View file

@ -34,5 +34,6 @@
];
};
};
_file = ./disko.nix;
};
}

View file

@ -47,6 +47,7 @@ _: {
hostName = "game-laptop";
networkmanager.enable = true;
};
services.openssh.settings.PermitRootLogin = lib.mkForce "prohibit-password";
#user managment
sops.secrets.root.neededForUsers = true;
users = {
@ -86,4 +87,5 @@ _: {
];
system.stateVersion = "23.05";
_file = ./main.nix;
}

View file

@ -23,5 +23,6 @@ _: {config, ...}: {
Option "OffTime" "0"
Option "BlankTime" "0"
'';
_file = ./prime.nix;
};
}

View file

@ -97,4 +97,5 @@ _: {
};
};
};
_file = ./minecraft.nix;
}

View file

@ -152,4 +152,5 @@ _: {
};
};
};
_file = ./website.nix;
}

View file

@ -153,4 +153,5 @@ in {
};
};
};
_file = ./disko.nix;
}

View file

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

View file

@ -18,4 +18,5 @@
};
};
sops.secrets.discordenv = {};
_file = ./sops.nix;
}

View file

@ -32,4 +32,5 @@ in {
misc = "282a36";
};
};
_file = ./spicetify.nix;
}

View file

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

View file

@ -74,4 +74,5 @@ _: {
autoScrub.enable = true;
trim.enable = true;
};
_file = ./zfs.nix;
}

View file

@ -35,4 +35,5 @@
};
};
};
_file = ./disko.nix;
}

View file

@ -1,4 +1,5 @@
_: {
lib,
pkgs,
config,
...
@ -58,6 +59,7 @@ _: {
};
};
};
services.openssh.settings.PermitRootLogin = lib.mkForce "prohibit-password";
boot = {
initrd.availableKernelModules = ["xhci-pci" "ehci-pci" "ahci" "usbhid" "sd_mod" "sr_mod" "rtsx_usb_sdmmc"];
kernelModules = ["kvm-intel"];
@ -82,4 +84,5 @@ _: {
size = 8 * 1024;
}
];
_file = ./main.nix;
}

View file

@ -17,4 +17,5 @@ _: {pkgs, ...}: {
drivers = [pkgs.hplipWithPlugin];
};
};
_file = ./printing.nix;
}