disko testing
This commit is contained in:
parent
96a8f7e941
commit
b7df06b556
4
setup.sh
4
setup.sh
@ -1,5 +1,5 @@
|
|||||||
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode destroy,format,mount system/vincents-old-hp/disk.nix
|
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode disko system/vincents-old-hp/disk.nix
|
||||||
|
|
||||||
sudo nixos-install --flake .#vincent-old-hp
|
sudo nixos-install --flake .#vincents-old-hp
|
||||||
|
|
||||||
echo "REBOOT YOUR COMPUTER"
|
echo "REBOOT YOUR COMPUTER"
|
||||||
|
@ -14,27 +14,41 @@
|
|||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/sda2";
|
{ device = "/dev/disk/by-uuid/f010b3df-9a60-4a40-a54d-d98c6a6ce992";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=root" "ssd" "defaults" "noatime" "compress=zstd:5" ];
|
options = [ "subvol=root" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/7a43a7b8-6abd-4266-af16-3a5b0637ad77";
|
||||||
|
|
||||||
|
fileSystems."/boot" =
|
||||||
|
{ device = "/dev/disk/by-uuid/7673-9394";
|
||||||
|
fsType = "vfat";
|
||||||
|
options = [ "fmask=0022" "dmask=0022" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/home" =
|
fileSystems."/home" =
|
||||||
{ device = "/dev/sda2";
|
{ device = "/dev/disk/by-uuid/f010b3df-9a60-4a40-a54d-d98c6a6ce992";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=home" "ssd" "defaults" "noatime" "compress=zstd:5" ];
|
options = [ "subvol=home" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/nix" =
|
fileSystems."/nix" =
|
||||||
{ device = "/dev/sda2";
|
{ device = "/dev/disk/by-uuid/f010b3df-9a60-4a40-a54d-d98c6a6ce992";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=nix" "ssd" "defaults" "noatime" "compress=zstd:5" ];
|
options = [ "subvol=nix" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/persist" =
|
||||||
{ device = "/dev/sda1";
|
{ device = "/dev/disk/by-uuid/f010b3df-9a60-4a40-a54d-d98c6a6ce992";
|
||||||
fsType = "vfat";
|
fsType = "btrfs";
|
||||||
options = [ "fmask=0022" "dmask=0022" ];
|
options = [ "subvol=persist" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/var/log" =
|
||||||
|
{ device = "/dev/disk/by-uuid/f010b3df-9a60-4a40-a54d-d98c6a6ce992";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [ "subvol=log" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
Loading…
Reference in New Issue
Block a user