diff options
author | sils <sils@sils.li> | 2023-11-17 22:48:27 +0100 |
---|---|---|
committer | sils <sils@sils.li> | 2023-11-17 22:48:27 +0100 |
commit | 1fdcd9a702a149543833d80ccaae276406692d8e (patch) | |
tree | 220e44761f7ee8bd98285bb7534cabbc6ae14053 /flake.nix | |
parent | fix(u/sils/gpg): add cachttl (diff) | |
download | nix-config-1fdcd9a702a149543833d80ccaae276406692d8e.tar.gz nix-config-1fdcd9a702a149543833d80ccaae276406692d8e.zip |
feat(flake): add sops-nix
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix index d76e11b..8b5f258 100644 --- a/flake.nix +++ b/flake.nix @@ -3,6 +3,7 @@ inputs = { nixpkgs.url = "github:NixOs/nixpkgs/nixos-unstable"; + nixpkgs-stable.url = "github:NixOs/nixpkgs/nixos-23.05"; home-manager = { url = "github:nix-community/home-manager"; @@ -27,6 +28,13 @@ systems = { url = "github:nix-systems/x86_64-linux"; # only evaluate for this system }; + sops-nix = { + url = "github:Mic92/sops-nix"; + inputs = { + nixpkgs.follows = "nixpkgs"; + nixpkgs-stable.follows = "nixpkgs-stable"; + }; + }; flake-compat = { url = "github:edolstra/flake-compat"; flake = false; @@ -116,6 +124,7 @@ nixvim, impermanence, wl-togglescreens, + sops-nix, ... } @ attrs: let system = "x86_64-linux"; @@ -128,6 +137,7 @@ impermanence.nixosModules.impermanence lanzaboote.nixosModules.lanzaboote home-manager.nixosModules.home-manager + sops-nix.nixosModules.sops { home-manager = { useGlobalPkgs = true; |