turn disk configs into valid nixos configuration

This commit is contained in:
lassulus
2023-04-06 08:56:55 +02:00
parent cd825b85fb
commit 769bde0834
24 changed files with 1152 additions and 1186 deletions
+3 -3
View File
@@ -106,10 +106,10 @@ imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
"${builtins.fetchTarball "https://github.com/nix-community/disko/archive/master.tar.gz"}/module.nix"
(import ./disko-config.nix {
disks = [ "/dev/<disk-name>" ]; # replace this with your disk name i.e. /dev/nvme0n1
})
];
disko.devices = pkgs.callPackage ./disko-config.nix {
disks = [ "/dev/<disk-name>" ]; # replace this with your disk name i.e. /dev/nvme0n1
};
```
If you went for the hybrid-partition scheme, than choose grub as a bootloader.