summary refs log tree commit diff stats
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index d896f93..71459ec 100644
--- a/flake.nix
+++ b/flake.nix
@@ -9,6 +9,8 @@
       inputs.nixpkgs.follows = "nixpkgs";
     };
 
+    impermanence.url = "github:nix-community/impermanence";
+
     # inputs for following
     nixneovim = {
       url = "github:nixneovim/nixneovim";
@@ -111,12 +113,13 @@
     prismlauncher,
     lanzaboote,
     nixneovim,
+    impermanence,
     ...
   } @ attrs: let
     system = "x86_64-linux";
     pkgs = import nixpkgs {
       inherit system;
-      overlays = [ nixneovim.overlays.default ];
+      overlays = [nixneovim.overlays.default];
     };
 
     sysLib = shell_library.lib.${system};
@@ -125,6 +128,7 @@
       inherit system;
       specialArgs = attrs;
       modules = [
+        impermanence.nixosModules.impermanence
         lanzaboote.nixosModules.lanzaboote
         ./hosts/thinklappi
         home-manager.nixosModules.home-manager
@@ -133,7 +137,7 @@
             useGlobalPkgs = true;
             useUserPackages = true;
             users.sils = import ./users/sils;
-            extraSpecialArgs = {inherit pkgs system sysLib river_init_lesser yambar_cpu yambar_memory prismlauncher nixneovim;};
+            extraSpecialArgs = {inherit pkgs system sysLib river_init_lesser yambar_cpu yambar_memory prismlauncher nixneovim impermanence;};
           };
         }
       ];