diff options
author | Franck Cuny <franck@fcuny.net> | 2023-05-02 19:47:06 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-05-02 19:47:06 -0700 |
commit | d5b1a42efd4f463beb38282b541ca5acd6c5a131 (patch) | |
tree | fde1b3d0fa78cf636fd71183f9aeac7d97d9f9d7 | |
parent | profiles/server: move boot loader configuration (diff) | |
download | world-d5b1a42efd4f463beb38282b541ca5acd6c5a131.tar.gz |
profiles/default: users are immutable
-rw-r--r-- | modules/system/users/default.nix | 3 | ||||
-rw-r--r-- | profiles/default.nix | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/system/users/default.nix b/modules/system/users/default.nix index 9f874a0..2e7635d 100644 --- a/modules/system/users/default.nix +++ b/modules/system/users/default.nix @@ -5,9 +5,6 @@ let sshPub = builtins.fromTOML (builtins.readFile ../../../configs/ssh-pubkeys.toml); in { - # Users are managed through this configuration. If a user is added - # manually, it will be removed on system activation. - users.mutableUsers = false; users.groups.fcuny = { gid = 1000; }; users.users.fcuny = { diff --git a/profiles/default.nix b/profiles/default.nix index 2353dde..9cca61b 100644 --- a/profiles/default.nix +++ b/profiles/default.nix @@ -1,5 +1,8 @@ { pkgs, config, lib, ... }: { + # Users are managed through nix. If a user is added manually, it + # will be removed on system activation. + users.mutableUsers = false; boot = { loader = { |