From 212d5951f8eca9713788ae4d08707f54363d4ecb Mon Sep 17 00:00:00 2001 From: sils Date: Wed, 2 Aug 2023 12:12:09 +0200 Subject: Feat(flake): Add impermanence --- flake.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'flake.nix') 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;}; }; } ]; -- cgit 1.4.1