From 3dd8a3256165623b38afb67c89d83d4d2eb8e53e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Sat, 6 Sep 2025 16:17:09 +0800 Subject: [PATCH] doc: document my pitfall history in the README --- README.md | 5 +++++ nix/configurations/vanadium/nixos/misc.nix | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 23e8061d..402fc97f 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,11 @@ This repo is managed with Nix + GNU stow # profit ``` +# Pitfalls +## `users.mutableUsers` +NEVER set this to true without declaratively setting the passwords. +It would change the password to ! and you can't login. + # Hosts - vanadium: Framework 13 (AMD 7040 Series) diff --git a/nix/configurations/vanadium/nixos/misc.nix b/nix/configurations/vanadium/nixos/misc.nix index a0795332..db83b159 100644 --- a/nix/configurations/vanadium/nixos/misc.nix +++ b/nix/configurations/vanadium/nixos/misc.nix @@ -13,8 +13,4 @@ # https://community.frame.work/t/stability-issues-random-crashes-reboots-and-boot-freezes/62675/4 "pcie_aspm=off" ]; - - # I have learned my lesson - # NEVER set this to true. It would change the password to ! and you can't login - # users.mutableUsers = false; }