regenerate hardware-configuration.nix on all machines

This commit is contained in:
Katherina Walshe-Grey 2024-07-02 19:00:36 +01:00
parent 7c110ae17d
commit 18bc4afc65
3 changed files with 22 additions and 18 deletions

View file

@ -10,7 +10,7 @@
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" ]; boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =
@ -34,6 +34,10 @@
options = [ "fmask=0077" "dmask=0077" ]; options = [ "fmask=0077" "dmask=0077" ];
}; };
swapDevices =
[ { device = "/dev/disk/by-uuid/a0ac8f60-25f9-4dec-af70-e3f4cd36c575"; }
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's # (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction # still possible to use this option, but it's recommended to use it in conjunction

View file

@ -33,20 +33,19 @@
fsType = "zfs"; fsType = "zfs";
}; };
fileSystems."/data" =
{ device = "rpool/data";
fsType = "zfs";
};
fileSystems."/home" = fileSystems."/home" =
{ device = "rpool/home"; { device = "rpool/home";
fsType = "zfs"; fsType = "zfs";
}; };
fileSystems."/boot" = fileSystems."/data" =
{ device = "/dev/disk/by-uuid/7DD4-487E"; { device = "rpool/data";
fsType = "vfat"; fsType = "zfs";
options = [ "fmask=0022" "dmask=0022" ]; };
fileSystems."/data/syncthing" =
{ device = "rpool/data/syncthing";
fsType = "zfs";
}; };
fileSystems."/data/steam" = fileSystems."/data/steam" =
@ -54,9 +53,10 @@
fsType = "zfs"; fsType = "zfs";
}; };
fileSystems."/data/syncthing" = fileSystems."/boot" =
{ device = "rpool/data/syncthing"; { device = "/dev/disk/by-uuid/7DD4-487E";
fsType = "zfs"; fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
}; };
swapDevices = swapDevices =

View file

@ -28,17 +28,17 @@
fsType = "zfs"; fsType = "zfs";
}; };
fileSystems."/data/forgejo" =
{ device = "rpool/forgejo";
fsType = "zfs";
};
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/107D-5AB3"; { device = "/dev/disk/by-uuid/107D-5AB3";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ]; options = [ "fmask=0077" "dmask=0077" ];
}; };
fileSystems."/data/forgejo" =
{ device = "rpool/forgejo";
fsType = "zfs";
};
swapDevices = swapDevices =
[ { device = "/dev/disk/by-uuid/f8b6eb35-33ad-4e19-bf3d-cac5ec38a8dc"; } [ { device = "/dev/disk/by-uuid/f8b6eb35-33ad-4e19-bf3d-cac5ec38a8dc"; }
]; ];