Integrated box host
This commit is contained in:
25
hosts/box/packages.nix
Normal file
25
hosts/box/packages.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user