diff options
-rw-r--r-- | flake.lock | 43 | ||||
-rw-r--r-- | flake.nix | 10 |
2 files changed, 52 insertions, 1 deletions
diff --git a/flake.lock b/flake.lock index 69f3744..a0f4728 100644 --- a/flake.lock +++ b/flake.lock @@ -548,6 +548,22 @@ }, "nixpkgs-stable_2": { "locked": { + "lastModified": 1700097215, + "narHash": "sha256-ODQ3gBTv1iHd7lG21H+ErVISB5wVeOhd/dEogOqHs/I=", + "owner": "NixOs", + "repo": "nixpkgs", + "rev": "9fb122519e9cd465d532f736a98c1e1eb541ef6f", + "type": "github" + }, + "original": { + "owner": "NixOs", + "ref": "nixos-23.05", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-stable_3": { + "locked": { "lastModified": 1685801374, "narHash": "sha256-otaSUoFEMM+LjBI1XL/xGB5ao6IwnZOXc47qhIgJe8U=", "owner": "NixOS", @@ -639,7 +655,7 @@ "nixvim", "nixpkgs" ], - "nixpkgs-stable": "nixpkgs-stable_2" + "nixpkgs-stable": "nixpkgs-stable_3" }, "locked": { "lastModified": 1698852633, @@ -781,11 +797,13 @@ "impermanence": "impermanence", "lanzaboote": "lanzaboote", "nixpkgs": "nixpkgs", + "nixpkgs-stable": "nixpkgs-stable_2", "nixvim": "nixvim", "prismlauncher": "prismlauncher", "river_init_lesser": "river_init_lesser", "rust-overlay": "rust-overlay_2", "shell_library": "shell_library", + "sops-nix": "sops-nix", "systems": "systems_4", "wl-togglescreens": "wl-togglescreens", "yambar_cpu": "yambar_cpu", @@ -894,6 +912,29 @@ "url": "https://codeberg.org/soispha/shell_library.git" } }, + "sops-nix": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ], + "nixpkgs-stable": [ + "nixpkgs-stable" + ] + }, + "locked": { + "lastModified": 1699951338, + "narHash": "sha256-1GeczM7XfgHcYGYiYNcdwSFu3E62vmh4d7mffWZvyzE=", + "owner": "Mic92", + "repo": "sops-nix", + "rev": "0e3a94167dcd10a47b89141f35b2ff9e04b34c46", + "type": "github" + }, + "original": { + "owner": "Mic92", + "repo": "sops-nix", + "type": "github" + } + }, "systems": { "locked": { "lastModified": 1681028828, 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; |