From 1fdcd9a702a149543833d80ccaae276406692d8e Mon Sep 17 00:00:00 2001 From: sils Date: Fri, 17 Nov 2023 22:48:27 +0100 Subject: feat(flake): add sops-nix --- flake.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'flake.nix') 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; -- cgit 1.4.1