summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin Finlinson <devin.finlinson@pm.me>2025-06-26 13:34:46 -0600
committerDevin Finlinson <devin.finlinson@pm.me>2025-06-26 13:34:46 -0600
commit74a1f3bc5570470635ff1337de5dae08e1ae24c8 (patch)
treee3a9fb6e9d707be5be7eb5c451ca5ea43b3417f7
parent96b54653e37371ade7c809ee3d6c02d57d18523d (diff)
testing sops-nix setup
-rw-r--r--flake.lock21
-rw-r--r--flake.nix6
2 files changed, 27 insertions, 0 deletions
diff --git a/flake.lock b/flake.lock
index ddbecfe..fa272b3 100644
--- a/flake.lock
+++ b/flake.lock
@@ -766,9 +766,30 @@
"nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable",
"nushell-scripts": "nushell-scripts",
+ "sops-nix": "sops-nix",
"wallpapers": "wallpapers"
}
},
+ "sops-nix": {
+ "inputs": {
+ "nixpkgs": [
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1750119275,
+ "narHash": "sha256-Rr7Pooz9zQbhdVxux16h7URa6mA80Pb/G07T4lHvh0M=",
+ "owner": "Mic92",
+ "repo": "sops-nix",
+ "rev": "77c423a03b9b2b79709ea2cb63336312e78b72e2",
+ "type": "github"
+ },
+ "original": {
+ "owner": "Mic92",
+ "repo": "sops-nix",
+ "type": "github"
+ }
+ },
"spectrum": {
"flake": false,
"locked": {
diff --git a/flake.nix b/flake.nix
index aab7306..cce6eea 100644
--- a/flake.nix
+++ b/flake.nix
@@ -25,6 +25,11 @@
inputs.nixpkgs.follows = "nixpkgs";
};
+ sops-nix = {
+ url = "github:Mic92/sops-nix";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
+
# for hyprvisoring
microvm = {
url = "github:astro/microvm.nix";
@@ -227,6 +232,7 @@
khad = lib.nixosSystem { # Main desktop
modules = minimalHomeManagerSettings ++ [ ./machines/khad
lix-module.nixosModules.default
+ sops-nix.nixosModules.sops
home-manager.nixosModules.home-manager { home-manager.users.defin = import ./home-manager/home.nix; }
];
};