mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-24 23:59:07 +02:00
sops debugging
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
flake.nixosModules.user = { pkgs, config, user, fullname, ... }: {
|
||||
home-manager.extraSpecialArgs = { inherit user fullname; };
|
||||
|
||||
sops.secrets."users/mo/password" = {
|
||||
sops.secrets."users/${user}/password" = {
|
||||
neededForUsers = true;
|
||||
};
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
description = fullname;
|
||||
extraGroups = [ "networkmanager" "wheel" "video" "audio" ];
|
||||
shell = pkgs.zsh;
|
||||
hashedPasswordFile = config.sops.secrets."users/mo/password".path;
|
||||
hashedPasswordFile = config.sops.secrets."users/${user}/password".path;
|
||||
};
|
||||
|
||||
home-manager.users.${user} = {
|
||||
|
||||
Reference in New Issue
Block a user