32 lines
641 B
Nix
32 lines
641 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
environment.systemPackages = with pkgs; [
|
|
wakeonlan
|
|
];
|
|
security.sudo.wheelNeedsPassword = false;
|
|
imports =
|
|
[ ./hardware-configuration.nix ];
|
|
networking.hostName = "inuc";
|
|
boot.initrd.enable = true;
|
|
boot.loader = {
|
|
systemd-boot = {
|
|
enable = true;
|
|
}; # end loader.systemd-boot
|
|
}; # end boot
|
|
virtualisation = {
|
|
oci-containers = {
|
|
containers = {
|
|
}; # end containers
|
|
}; # end oci-containers
|
|
}; # end virtualisation
|
|
networking.firewall.allowedTCPPorts = [
|
|
53
|
|
80
|
|
443
|
|
];
|
|
networking.firewall.allowedUDPPorts = [
|
|
53
|
|
];
|
|
} # end file
|
|
|