summary refs log tree commit diff stats
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix10
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;