about summary refs log tree commit diff
path: root/profiles/default.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-05-02 19:47:06 -0700
committerFranck Cuny <franck@fcuny.net>2023-05-02 19:47:06 -0700
commitd5b1a42efd4f463beb38282b541ca5acd6c5a131 (patch)
treefde1b3d0fa78cf636fd71183f9aeac7d97d9f9d7 /profiles/default.nix
parentprofiles/server: move boot loader configuration (diff)
downloadworld-d5b1a42efd4f463beb38282b541ca5acd6c5a131.tar.gz
profiles/default: users are immutable
Diffstat (limited to '')
-rw-r--r--profiles/default.nix3
1 files changed, 3 insertions, 0 deletions
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 = {