diff options
author | ene <ene@sils.li> | 2023-02-16 17:36:26 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-02-16 18:13:03 +0100 |
commit | 62609ecba4373d6d89a39d7b5e7ca220ad869975 (patch) | |
tree | 52ed2e8608d4eda8759707743989b6af40b08ee3 /flake.nix | |
parent | Feat(nix): Add settings (diff) | |
download | nixos-config-62609ecba4373d6d89a39d7b5e7ca220ad869975.tar.gz nixos-config-62609ecba4373d6d89a39d7b5e7ca220ad869975.zip |
Feat: Add impersistent for persistent files and dirs
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 10 |
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 } ]; }; |