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:
Sravan Balaji
2024-03-24 10:23:57 -04:00
parent da7bcecacd
commit 7b9bafb13d
2 changed files with 8 additions and 5 deletions

View File

@@ -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;
};
};
};