mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
devShell stuff and sops
This commit is contained in:
parent
4856ba7e81
commit
12cf6b2371
3 changed files with 2 additions and 4 deletions
|
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
sops-nix,
|
||||
|
|
@ -9,7 +8,6 @@
|
|||
imports = [ sops-nix.nixosModules.sops ];
|
||||
options.local.sops.disable = lib.mkEnableOption "";
|
||||
config = lib.mkIf (!config.local.sops.disable) {
|
||||
environment.systemPackages = [ pkgs.sops ];
|
||||
sops = {
|
||||
defaultSopsFile = "${self'}/hosts/${config.networking.hostName}/secrets.yaml";
|
||||
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue