about 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.nix10
1 files changed, 7 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix
index dd44e2f4..9c602019 100644
--- a/flake.nix
+++ b/flake.nix
@@ -23,6 +23,10 @@
       url = "github:arkenfox/user.js";
       flake = false;
     };
+
+    impermanence = {
+      url = "github:nix-community/impermanence";
+    };
   };
 
   outputs = {
@@ -32,6 +36,7 @@
     neovim_config,
     strip_js_comments,
     user_js,
+    impermanence,
     ...
   } @ inputs: {
     nixosConfigurations.Tiamat = nixpkgs.lib.nixosSystem rec {
@@ -39,6 +44,7 @@
       specialArgs = inputs;
       modules = [
         ./hosts/desktop/configuration.nix
+
         home-manager.nixosModules.home-manager
         {
           home-manager = {
@@ -50,11 +56,9 @@
               inherit user_js;
               inherit system;
               inherit neovim_config;
+              inherit impermanence;
             };
           };
-
-          # Optionally, use home-manager.extraSpecialArgs to pass
-          # arguments to home.nix
         }
       ];
     };