Personal-use NixOS configuration

Reformat disk config

+6 -2
+1 -1
hosts/decryption/default.nix
··· 9 9 imports = [ 10 10 nixos-hardware.nixosModules.common-pc-ssd 11 11 ./hardware-configuration.nix 12 - ./disk.nix 12 + ./disks.nix 13 13 (flakeRoot + /hardware/cpu/amd.nix) 14 14 (flakeRoot + /hardware/gpu/nvidia.nix) 15 15
+5
hosts/decryption/disk.nix hosts/decryption/disks.nix
··· 4 4 main = { 5 5 type = "disk"; 6 6 device = "/dev/disk/by-id/nvme-Samsung_SSD_980_1TB_S64ANS0T409404F"; 7 + 7 8 content = { 8 9 type = "gpt"; 10 + 9 11 partitions = { 10 12 ESP = { 11 13 end = "500M"; 12 14 type = "EF00"; 15 + 13 16 content = { 14 17 type = "filesystem"; 18 + 15 19 format = "vfat"; 16 20 mountpoint = "/boot"; 17 21 }; ··· 22 26 23 27 content = { 24 28 type = "filesystem"; 29 + 25 30 format = "xfs"; 26 31 mountpoint = "/"; 27 32 };
-1
lib/mkSystem.nix
··· 36 36 inputs.lix-module.nixosModules.default 37 37 inputs.disko.nixosModules.disko 38 38 39 - ../hosts/${name} 40 39 ../hosts/${hostName} 41 40 42 41 {