fix(logistics): sops sysusers interaction

This commit is contained in:
arcnmx 2024-05-21 11:38:11 -07:00
parent f314ce792a
commit dcf8831231
2 changed files with 6 additions and 2 deletions

View file

@ -40,7 +40,9 @@ in {
networking.firewall.allowedTCPPorts = [sshPort]; networking.firewall.allowedTCPPorts = [sshPort];
sops.secrets = { sops.secrets = {
tf-proxmox-passwd = {}; tf-proxmox-passwd = {
neededForUsers = true;
};
tf-proxmox-identity = { tf-proxmox-identity = {
owner = username; owner = username;
}; };

View file

@ -119,7 +119,9 @@ in {
sops = { sops = {
defaultSopsFile = ./secrets.yaml; defaultSopsFile = ./secrets.yaml;
secrets = { secrets = {
logistics-user-password = {}; logistics-user-password = {
neededForUsers = true;
};
networkmanager-wifi-connection = mkIf config.networking.networkmanager.enable { networkmanager-wifi-connection = mkIf config.networking.networkmanager.enable {
path = "/etc/NetworkManager/system-connections/wifi.nmconnection"; path = "/etc/NetworkManager/system-connections/wifi.nmconnection";
mode = "0400"; mode = "0400";