This commit is contained in:
XenGi 2026-08-27 23:35:11 +02:00
commit b2e7fde9ec
Signed by: xengi
SSH key fingerprint: SHA256:dM+fLZGsDvyv6kunjE8bGduL24VsCFB4LEOSdmRHdG0
14 changed files with 131 additions and 51 deletions

View file

@ -2,7 +2,7 @@
{
boot = {
initrd.availableKernelModules = [ "ahci" "xhci_pci" "ehci_pci" "megaraid_sas" "nvme" "usbhid" "usb_storage" "sd_mod" "sr_mod" ];
initrd.availableKernelModules = [ "ahci" "xhci_pci" "ehci_pci" "megaraid_sas" "nvme" "usb_storage" "usbhid" "sd_mod" "sr_mod" ];
kernelModules = [ "kvm-intel" ];
loader = {
systemd-boot.enable = true;
@ -12,7 +12,7 @@
swraid = {
enable = true;
mdadmConf = ''
ARRAY /dev/md/ROOT metadata=1.2 UUID=acd8260f-e30f-2f3f-74f7-e51ee905a498
ARRAY /dev/md/ROOT metadata=1.2 UUID=41506d64-f386-474c-abe1-0142d9c57d84
MAILADDR root@localhost
'';
};
@ -20,20 +20,20 @@
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/e44cfa13-868e-4d26-b3de-5a8ae92bb055";
device = "/dev/disk/by-uuid/41506d64-f386-474c-abe1-0142d9c57d84";
fsType = "ext4";
options = [ "discard" "noatime" ];
};
"/boot" = {
device = "/dev/disk/by-uuid/AD5C-950B";
device = "/dev/disk/by-uuid/49B7-9286";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" "discard" "noatime" ];
};
};
swapDevices = [
{ device = "/dev/disk/by-uuid/e8825b01-f91e-4c4f-8916-bffeb6fac0cd"; }
{ device = "/dev/disk/by-uuid/5b53c0b9-ab57-4992-8e81-957e19c7b685"; }
{ device = "/dev/disk/by-uuid/e8825b01-f91e-4c4f-8916-bffeb6fac0cd"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
@ -48,6 +48,7 @@
environment.systemPackages = with pkgs; [
git
vim
];
virtualisation = {
@ -62,6 +63,5 @@
#rootDevice = "/dev/disk/by-label/nixos";
#mountHostNixStore = true;
system.stateVersion = "25.11";
system.stateVersion = "26.05";
}