Disko Flake Setup
- Add disko as input to flake - Use diskoConfig flake variable to select disko configuration in configuration.nix
This commit is contained in:
@@ -7,8 +7,7 @@
|
||||
{
|
||||
imports = [
|
||||
../../system/hardware-configuration.nix
|
||||
"${builtins.fetchTarball "https://github.com/nix-community/disko/archive/master.tar.gz"}/module.nix"
|
||||
"../../disko/${systemSettings.diskoConfiguration}.nix"
|
||||
"../../disko/" + systemSettings.diskoConfig
|
||||
];
|
||||
|
||||
nix = {
|
||||
@@ -29,7 +28,7 @@
|
||||
grub = {
|
||||
enable = true;
|
||||
efiSupport = true;
|
||||
device = "nodev";
|
||||
efiInstallAsRemovable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user