Bare-bones Raspberry box config

This commit is contained in:
2026-01-11 16:23:26 +02:00
parent 77e40135c5
commit 2969bbabef
8 changed files with 179 additions and 1 deletions

19
hosts/oldbox/user.nix Normal file
View File

@@ -0,0 +1,19 @@
{
config,
pkgs,
lib,
...
}: {
users.users.boxuser = {
isNormalUser = true;
group = "boxuser";
extraGroups = ["wheel" "docker" "networkmanager"]; # Enable sudo for the user.
hashedPassword = "$6$Gk6L21XBSf.YbfU1$eadMLbwvAgudTjPOLCsZfRNxfGptARnAazhs0xz/GcNEYGQS/GjLov/jJsHnPIKBNIPQJEG4XhZ3K097bfi1c1";
packages = with pkgs; [
fastfetch
];
};
users.users.boxuser.shell = pkgs.bash;
users.groups.boxuser = {};
}