modularise home conf

This commit is contained in:
atagen 2023-09-28 13:15:38 +10:00
parent b07d950147
commit 4477d0d4a2
23 changed files with 1152 additions and 855 deletions

View file

@ -16,7 +16,7 @@
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-amd" "i2c-dev"];
boot.kernelParams = [
"nvidia_drm.modeset=1"
"nvidia_drm.modeset=1"
"mitigations=off"
"acpi_enforce_resources=lax"
"preempt=full"
@ -110,10 +110,10 @@
extraGroups = ["wheel" "podman" "docker"]; # Enable sudo for the user.
};
fileSystems."/" =
{ device = "/dev/disk/by-uuid/b993b463-c131-4ef1-9aba-0e3eadaa2f9a";
fsType = "btrfs";
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/b993b463-c131-4ef1-9aba-0e3eadaa2f9a";
fsType = "btrfs";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/6B75-AF9F";
@ -126,10 +126,9 @@
options = ["rw" "uid=1000" "gid=100"];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/9c006925-e0e9-4165-bc0c-508ae2d1bfce"; }
];
swapDevices = [
{device = "/dev/disk/by-uuid/9c006925-e0e9-4165-bc0c-508ae2d1bfce";}
];
networking.nftables.enable = true;
networking.firewall = {