Move some stuff to modules

This commit is contained in:
Pim Kunis 2024-10-26 20:24:13 +02:00
parent 61640c0580
commit 08b0fbcd0c
30 changed files with 427 additions and 406 deletions

View file

@ -62,7 +62,7 @@
modules = [
extraModule
] ++ nixpkgs'.lib.optional useDefaultConfiguration ./configuration.nix;
] ++ nixpkgs'.lib.optional useDefaultConfiguration ./nixos;
};
in
{
@ -170,7 +170,7 @@
users = {
users.pim = {
isNormalUser = true;
# extraGroups = [ "wheel" "docker" "input" "wireshark" "dialout" ];
extraGroups = [ "wheel" "docker" "input" "wireshark" "dialout" ];
};
};
@ -232,10 +232,10 @@
boot.initrd.luks.devices."luks-8ffd3129-4908-4209-98c4-4eb68a35c494".device = "/dev/disk/by-uuid/8ffd3129-4908-4209-98c4-4eb68a35c494";
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "vmd" "nvme" "usb_storage" ];
hardware.ipu6 = {
enable = true;
platform = "ipu6ep";
};
# hardware.ipu6 = {
# enable = true;
# platform = "ipu6ep";
# };
};
});
};