summary refs log tree commit diff stats
path: root/flake
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--flake.nix4
-rw-r--r--flake/nixosConfigurations/default.nix2
2 files changed, 6 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 1f49f16..4ae4315 100644
--- a/flake.nix
+++ b/flake.nix
@@ -158,6 +158,10 @@
       url = "github:arkenfox/user.js";
       flake = false;
     };
+    disko = {
+      url = "github:nix-community/disko";
+      inputs.nixpkgs.follows = "nixpkgs";
+    };
   };
   outputs = {
     flake-parts,
diff --git a/flake/nixosConfigurations/default.nix b/flake/nixosConfigurations/default.nix
index ca3c035..cf78608 100644
--- a/flake/nixosConfigurations/default.nix
+++ b/flake/nixosConfigurations/default.nix
@@ -6,6 +6,7 @@
   stylix,
   sops-nix,
   agenix,
+  disko,
   ...
 } @ attrs: let
   defaultModules = [
@@ -15,6 +16,7 @@
     stylix.nixosModules.stylix
     sops-nix.nixosModules.sops
     agenix.nixosModules.default
+    disko.nixosModules.disko
     {
       home-manager = {
         backupFileExtension = "backup";