From 65cf415c29a027b6de155519bd0ee65d61774cbb Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Wed, 15 May 2024 14:18:48 -0700 Subject: Add sops-nix --- flake.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index a251ea9..9ba73b5 100644 --- a/flake.nix +++ b/flake.nix @@ -21,9 +21,14 @@ nixpkgs-stable.url = "github:nixos/nixpkgs/release-23.11"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; + + sops-nix = { + url = "github:Mic92/sops-nix"; + inputs.nixpkgs.follows = "nixpkgs-unstable"; + }; }; - outputs = inputs@{ home-manager-stable, home-manager-unstable, nixos-hardware, nixpkgs-stable, nixpkgs-unstable, ... }: rec { + outputs = inputs@{ home-manager-stable, home-manager-unstable, nixos-hardware, nixpkgs-stable, nixpkgs-unstable, sops-nix, ... }: rec { nixosConfigurations = { darkstar = nixpkgs-unstable.lib.nixosSystem { pkgs = pkgs-unstable; @@ -35,6 +40,7 @@ home-manager.users.root = import ./home/root/ginaz.nix; home-manager.users.nipsy = import ./home/nipsy/ginaz.nix; } + sops-nix.nixosModules.sops ]; }; @@ -49,6 +55,7 @@ home-manager.users.nipsy = import ./home/nipsy/ginaz.nix; } nixos-hardware.nixosModules.lenovo-yoga-7-14ARH7.amdgpu + sops-nix.nixosModules.sops ]; }; -- cgit v1.2.3