Integrated box host

This commit is contained in:
2025-10-02 13:56:28 +03:00
parent 82a4fa9169
commit db42fd7021
13 changed files with 394 additions and 5 deletions

25
hosts/box/packages.nix Normal file
View File

@@ -0,0 +1,25 @@
{
config,
pkgs,
...
}: {
imports = [
../../modules/userapps/utils.nix
];
services.openssh.enable = true;
users.users.boxuser = {
isNormalUser = true;
extraGroups = ["wheel" "docker" "networkmanager"]; # Enable sudo for the user.
password = "boxuser";
packages = with pkgs; [
fastfetch
];
};
security.sudo = {
enable = true;
wheelNeedsPassword = false;
};
}