sops: use upstream

This commit is contained in:
2026-07-14 20:05:42 +08:00
parent c0269d1695
commit a10b255a71
3 changed files with 9 additions and 9 deletions
Generated
+3 -4
View File
@@ -1004,16 +1004,15 @@
]
},
"locked": {
"lastModified": 1776230713,
"narHash": "sha256-8Rv4J8M09NPJcq4pYfMyi0ibJJQD7/JzKjAqSp2LjZw=",
"lastModified": 1783174389,
"narHash": "sha256-aCWC8ngycU7OdJrU2+Je3qf+1a2ykuBvpPhZT/9tXMc=",
"owner": "Mic92",
"repo": "sops-nix",
"rev": "105ff9ba631f5e7ee75aac03df941981312d917e",
"rev": "f1406619a3884cd5c47992a70b8b35c9c0fcb4c9",
"type": "github"
},
"original": {
"owner": "Mic92",
"ref": "pull/779/merge",
"repo": "sops-nix",
"type": "github"
}
+1 -3
View File
@@ -46,10 +46,8 @@
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
};
# TODO: sops-nix: remove pr patch once merged
# https://github.com/Mic92/sops-nix/pull/779
sops-nix = {
url = "github:Mic92/sops-nix/pull/779/merge";
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
stylix = {
+5 -2
View File
@@ -23,10 +23,13 @@ in
};
config = lib.mkIf cfg.enable {
sops.age.sshKeyFile = cfg.sshKeyFile;
sops.age.sshKeyPaths = [ cfg.sshKeyFile ];
# Inject environment directly to use native SSH key encryption
sops.environment.SOPS_AGE_SSH_PRIVATE_KEY_FILE = cfg.sshKeyFile;
users.users.${username}.extraGroups = [ "keys" ];
my.hm = {
sops.age.sshKeyFile = cfg.sshKeyFile;
sops.age.sshKeyPaths = [ cfg.sshKeyFile ];
sops.environment.SOPS_AGE_SSH_PRIVATE_KEY_FILE = cfg.sshKeyFile;
home.packages = [
pkgs.sops
];