sops: use upstream
This commit is contained in:
Generated
+3
-4
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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
@@ -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
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user