summary refs log tree commit diff stats
path: root/flake.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-07-07 08:06:27 +0200
committerSoispha <soispha@vhack.eu>2023-07-07 08:06:27 +0200
commit0cc2b1da5353721815e34b4b76664b9c80452abb (patch)
treef5a82cdc027768023e66aa31a61c2bf832a0b313 /flake.nix
parentchore(version): v0.2.0 (diff)
parentRefactor(system/impermanence): Move to own directory (diff)
downloadnixos-server-0cc2b1da5353721815e34b4b76664b9c80452abb.tar.gz
nixos-server-0cc2b1da5353721815e34b4b76664b9c80452abb.zip
Merge branch 'disko'
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index edfb3c4..0cf5609 100644
--- a/flake.nix
+++ b/flake.nix
@@ -11,6 +11,12 @@
     };
 
     # modules
+    disko = {
+      url = "github:nix-community/disko";
+      inputs = {
+        nixpkgs.follows = "nixpkgs";
+      };
+    };
     impermanence = {
       url = "github:nix-community/impermanence";
       inputs = {
@@ -30,6 +36,7 @@
     # modules
     simple-nixos-mailserver,
     impermanence,
+    disko,
     ...
   } @ attrs: let
     system = "x86_64-linux";
@@ -41,6 +48,7 @@
       modules = [
         ./hosts/server1/configuration.nix
         simple-nixos-mailserver.nixosModule
+        disko.nixosModules.default
         impermanence.nixosModules.impermanence
       ];
     };