Import disko through the flake inputs instead of fetchTarball.

This commit is contained in:
Tom Alexander
2025-04-02 23:31:25 -04:00
parent fb785e036b
commit 812a762652
3 changed files with 26 additions and 6 deletions

View File

@@ -53,6 +53,10 @@
# Optional but recommended to limit the size of your system closure.
inputs.nixpkgs.follows = "nixpkgs";
};
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
@@ -85,6 +89,7 @@
impermanence.nixosModules.impermanence
home-manager.nixosModules.home-manager
lanzaboote.nixosModules.lanzaboote
inputs.disko.nixosModules.disko
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;