diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-12-22 11:08:57 -0600 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-12-22 11:08:57 -0600 |
| commit | 87763bcc7d13e92b96c5743507795fba4444eabe (patch) | |
| tree | 1c394be7bbc358bc8dc3ad119f6ebf150ff0f974 /modules/user/nixos | |
| parent | 4bbaf8fff29ea4f50771025327cb16ed8995aab7 (diff) | |
give up on agenix; set up remote deploys (not currently working)
Diffstat (limited to 'modules/user/nixos')
| -rw-r--r-- | modules/user/nixos/default.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/modules/user/nixos/default.nix b/modules/user/nixos/default.nix index 0257198..b14e52d 100644 --- a/modules/user/nixos/default.nix +++ b/modules/user/nixos/default.nix @@ -6,11 +6,14 @@ }: let cfg = config.collinux.user; in { - users.users."${cfg.name}" = { - isNormalUser = true; - description = cfg.name; - extraGroups = ["networkmanager" "pipewire" "disks" "input" "video" "dialout" "kvm"] ++ (lib.optional cfg.isAdmin "wheel"); - hashedPasswordFile = config.age.secrets."${cfg.name}@${hostname}-passwd".path; + users = { + mutableUsers = true; + + users."${cfg.name}" = { + isNormalUser = true; + description = cfg.name; + extraGroups = ["networkmanager" "pipewire" "disks" "input" "video" "dialout" "kvm"] ++ (lib.optional cfg.isAdmin "wheel"); + }; }; security.sudo-rs.enable = true; services.userborn.enable = true; |
