1
0
Fork 0

New filesystem on zeus

This commit is contained in:
Malte 2023-01-04 01:54:53 +01:00
parent b114c5f7d4
commit c9adee35bf

View file

@ -7,7 +7,9 @@
pkgs, pkgs,
modulesPath, modulesPath,
... ...
}: { }: let
nixos-uuid = "47552982-2abf-45c6-8c5c-d33091ce3f5a";
in {
imports = [ imports = [
(modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/installer/scan/not-detected.nix")
]; ];
@ -23,20 +25,20 @@
}; };
fileSystems."/disk" = { fileSystems."/disk" = {
device = "/dev/disk/by-uuid/ac20f7bf-387e-42b0-b3df-b14163f45913"; device = "/dev/disk/by-uuid/${nixos-uuid}";
fsType = "btrfs"; fsType = "btrfs";
}; };
boot.initrd.luks.devices."crypted-nixos".device = "/dev/disk/by-uuid/2518e0e0-c263-40bc-b378-419832dc62cc"; boot.initrd.luks.devices."crypted-nixos".device = "/dev/disk/by-uuid/2518e0e0-c263-40bc-b378-419832dc62cc";
fileSystems."/nix" = { fileSystems."/nix" = {
device = "/dev/disk/by-uuid/ac20f7bf-387e-42b0-b3df-b14163f45913"; device = "/dev/disk/by-uuid/${nixos-uuid}";
fsType = "btrfs"; fsType = "btrfs";
options = ["subvol=nix"]; options = ["subvol=nix"];
}; };
fileSystems."/boot" = { fileSystems."/boot" = {
device = "/dev/disk/by-uuid/ac20f7bf-387e-42b0-b3df-b14163f45913"; device = "/dev/disk/by-uuid/${nixos-uuid}";
fsType = "btrfs"; fsType = "btrfs";
options = ["subvol=boot"]; options = ["subvol=boot"];
}; };