hermes: Reinstall system from scratch
This commit is contained in:
parent
95f888449f
commit
6fff073901
1 changed files with 12 additions and 11 deletions
|
|
@ -6,23 +6,16 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
bootUUID = "afbb025b-f483-4b79-9702-645cfca09e8b";
|
bootUUID = "7d30d165-5426-4af4-91f9-2b0631da9cdd";
|
||||||
efiUUID = "5E49-BE19";
|
efiUUID = "A735-60EE";
|
||||||
luuksUUID = "9aaac705-2737-4222-9887-51131acec90c";
|
luuksUUID = "679187e3-2f68-4ff8-873f-bb526e9ab544";
|
||||||
cryptrootUUID = "9d76cce0-7e9a-4828-8de2-aab9e07badae";
|
cryptrootUUID = "ef0b8648-8096-49e8-8103-81c9c72a3017";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
(modulesPath + "/installer/scan/not-detected.nix")
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
fileSystems."/" = {
|
|
||||||
device = "/dev/disk/by-uuid/9d76cce0-7e9a-4828-8de2-aab9e07badae";
|
|
||||||
fsType = "btrfs";
|
|
||||||
options = [ "subvol=@root" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/${luuksUUID}";
|
|
||||||
|
|
||||||
fileSystems."/boot" = {
|
fileSystems."/boot" = {
|
||||||
device = "/dev/disk/by-uuid/${bootUUID}";
|
device = "/dev/disk/by-uuid/${bootUUID}";
|
||||||
|
|
@ -38,6 +31,14 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/${luuksUUID}";
|
||||||
|
|
||||||
|
fileSystems."/" = {
|
||||||
|
device = "/dev/disk/by-uuid/${cryptrootUUID}";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [ "subvol=@root" ];
|
||||||
|
};
|
||||||
|
|
||||||
fileSystems."/home" = {
|
fileSystems."/home" = {
|
||||||
device = "/dev/disk/by-uuid/${cryptrootUUID}";
|
device = "/dev/disk/by-uuid/${cryptrootUUID}";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue