Added disko setup for desktop

This commit is contained in:
2026-06-30 00:00:47 +02:00
parent 6668c810d3
commit 649942096f
3 changed files with 80 additions and 13 deletions
+8 -11
View File
@@ -45,19 +45,18 @@
fileSystems = {
"/" = {
device = "/dev/disk/by-label/NIXROOT";
fsType = "ext4";
};
"/boot" = {
device = "/dev/disk/by-label/NIXBOOT";
fsType = "vfat";
device = "none";
fsType = "tmpfs";
options = [
"fmask=0022"
"dmask=0022"
"defaults"
"size=4G"
"mode=755"
];
};
"/nix".neededForBoot = true;
"/persist".neededForBoot = true;
"/storage" = {
device = "/dev/disk/by-label/STORAGE";
fsType = "ext4";
@@ -97,8 +96,6 @@
"d /shares/storage-backup 0775 ${primaryUser} users -"
];
swapDevices = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware = {