This commit is contained in:
mjallen18
2025-07-24 10:19:32 -05:00
parent 5dc1a96f6d
commit 3c1a956c81
23 changed files with 185 additions and 242 deletions

View File

@@ -1,4 +1,4 @@
{ config, ... }:
{ config, lib, ... }:
let
user = "nix-apps";
in
@@ -18,7 +18,7 @@ in
# Either the group id or group name representation of the secret group
# It is recommended to get the group name from `config.users.users.<?name>.group` to avoid misconfiguration
sops = {
defaultSopsFile = ../../../secrets/nas-secrets.yaml;
defaultSopsFile = lib.mkForce ../../../secrets/nas-secrets.yaml;
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
# ------------------------------

View File

@@ -1,4 +1,4 @@
{ pkgs, config, ... }:
{ pkgs, config, lib, ... }:
let
user = "admin";
passwordFile = config.sops.secrets."jallen-nas/admin_password".path;
@@ -31,7 +31,7 @@ in
"62900"
"1001"
];
hashedPasswordFile = passwordFile;
hashedPasswordFile = lib.mkForce passwordFile;
shell = pkgs.zsh;
packages = with pkgs; [
cachix