r5: reinstall
1 file changed, 18 insertions(+), 15 deletions(-)
changed files
M system/hosts/r5-hardware.nix → system/hosts/r5-hardware.nix
@@ -1,26 +1,29 @@ +# Do not modify this file! It was generated by ‘nixos-generate-config’ +# and may be overwritten by future invocations. Please make changes +# to /etc/nixos/configuration.nix instead. +{ config, lib, pkgs, modulesPath, ... }: + { - lib, - modulesPath, - ... -}: + imports = [ ]; -{ - boot.initrd.availableKernelModules = [ ]; + boot.initrd.availableKernelModules = [ "nvme" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; - fileSystems."/" = { - device = "/dev/disk/by-uuid/8734332f-5cf2-4a06-9bae-1dcd080da2b4"; - fsType = "ext4"; - }; + fileSystems."/" = + { device = "/dev/disk/by-label/nixos"; + fsType = "ext4"; + }; - fileSystems."/var/log" = { - device = "tmpfs"; - fsType = "tmpfs"; - }; + fileSystems."/boot" = + { device = "/dev/disk/by-label/boot"; + fsType = "ext4"; + }; - swapDevices = [ ]; + swapDevices = + [ { device = "/dev/disk/by-label/swap"; } + ]; nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux"; }