diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-02-08 20:06:02 -0800 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-04-14 18:58:53 -0700 |
| commit | 3b8a3a4a10a5e85317d37693b74e220a0b99503d (patch) | |
| tree | 6062f0d5223169fc0064be7b20a57c6c9d83ac19 | |
| parent | 200b5dc1fbee56838235bfd2c3d98540f1cc9bd3 (diff) | |
migration: set user passwords
| -rw-r--r-- | snowfall/systems/x86_64-linux/c-pc/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/snowfall/systems/x86_64-linux/c-pc/default.nix b/snowfall/systems/x86_64-linux/c-pc/default.nix index 9b770ea..33bec71 100644 --- a/snowfall/systems/x86_64-linux/c-pc/default.nix +++ b/snowfall/systems/x86_64-linux/c-pc/default.nix @@ -5,7 +5,7 @@ with lib; with lib.${namespace}; { ./hardware.nix ./network.nix ]; - + cxl = { system = { hostname = "c-pc"; @@ -53,5 +53,10 @@ with lib; with lib.${namespace}; { admin = true; }; + users.users = { + root.hashedPasswordFile = "/secrets/passwords/root"; + "c".hashedPasswordFile = "/secrets/passwords/c"; + }; + system.stateVersion = "23.11"; } |