mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-11 23:50:05 +01:00
turn disk configs into valid nixos configuration
This commit is contained in:
parent
cd825b85fb
commit
769bde0834
24 changed files with 1152 additions and 1186 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue