29 lines
632 B
Nix
29 lines
632 B
Nix
{
|
||
config,
|
||
pkgs,
|
||
...
|
||
}: {
|
||
imports = [
|
||
./dns.nix
|
||
./radicale.nix
|
||
./glance.nix
|
||
./packages.nix
|
||
./hardware-configuration.nix
|
||
../../modules/raspberrypi.nix
|
||
../../modules/common/networking.nix
|
||
../../modules/common/shell.nix
|
||
];
|
||
users.users.boxuser = {
|
||
isNormalUser = true;
|
||
groups = ["wheel" "docker" "networkmanager"]; # Enable ‘sudo’ for the user.
|
||
password = "boxuser";
|
||
packages = with pkgs; [
|
||
fastfetch
|
||
];
|
||
};
|
||
networking.hostName = "box";
|
||
networking.firewall.enable = false;
|
||
# This will be overridden by system/default.nix
|
||
system.stateVersion = "25.05";
|
||
}
|