From dcf88312319f3aac40c976a7328d96a06b4eb3e1 Mon Sep 17 00:00:00 2001 From: arcnmx Date: Tue, 21 May 2024 11:38:11 -0700 Subject: [PATCH] fix(logistics): sops sysusers interaction --- systems/hakurei/reisen-ssh.nix | 4 +++- systems/logistics/nixos.nix | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/systems/hakurei/reisen-ssh.nix b/systems/hakurei/reisen-ssh.nix index 62783273..0abd78ed 100644 --- a/systems/hakurei/reisen-ssh.nix +++ b/systems/hakurei/reisen-ssh.nix @@ -40,7 +40,9 @@ in { networking.firewall.allowedTCPPorts = [sshPort]; sops.secrets = { - tf-proxmox-passwd = {}; + tf-proxmox-passwd = { + neededForUsers = true; + }; tf-proxmox-identity = { owner = username; }; diff --git a/systems/logistics/nixos.nix b/systems/logistics/nixos.nix index 293857fb..b271aa09 100644 --- a/systems/logistics/nixos.nix +++ b/systems/logistics/nixos.nix @@ -119,7 +119,9 @@ in { sops = { defaultSopsFile = ./secrets.yaml; secrets = { - logistics-user-password = {}; + logistics-user-password = { + neededForUsers = true; + }; networkmanager-wifi-connection = mkIf config.networking.networkmanager.enable { path = "/etc/NetworkManager/system-connections/wifi.nmconnection"; mode = "0400";