nixos

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 2b4149351eb3600b46f4dc7a08f51baf95dfef3d
parent 3597c3812fd64e1dae6769affd3ed7b64a03f2e7
Author: Toni Brown <me@tb148.net>
Date:   Sun, 10 May 2026 23:43:22 +0800

update username

Diffstat:
Mremote/system/nix/default.nix | 2+-
Mremote/system/user/default.nix | 3++-
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/remote/system/nix/default.nix b/remote/system/nix/default.nix @@ -6,6 +6,6 @@ "nix-command" "flakes" ]; - trusted-users = ["admin"]; + trusted-users = ["tb148"]; }; } diff --git a/remote/system/user/default.nix b/remote/system/user/default.nix @@ -1,6 +1,7 @@ {...}: { - users.users.admin = { + users.users.tb148 = { isNormalUser = true; + initialPassword = "password"; extraGroups = ["wheel"]; # Enable ‘sudo’ for the user. openssh.authorizedKeys.keys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO2TIXbQnwXj+V+wCm381+noJLNa9VPFToIsP446SRnA openpgp:0x86122D5D"]; };