mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 05:23:28 +01:00
turn disk configs into valid nixos configuration
This commit is contained in:
1 parent
cd825b85fb
commit
769bde0834
24 files changed
+1152
-1186
No files matched your search
+3
-3
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user