34 lines
737 B
Nix
34 lines
737 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
];
|
|
|
|
boot.loader = {
|
|
systemd-boot.enable = true;
|
|
efi.canTouchEfiVariables = true;
|
|
};
|
|
|
|
beatific.hostName = "backyard";
|
|
|
|
# Enable networking
|
|
networking.networkmanager.enable = true;
|
|
users.users.tvb.extraGroups = [ "networkmanager" ];
|
|
|
|
networking.firewall = {
|
|
enable = true;
|
|
allowedTCPPorts = [
|
|
80 # http
|
|
443 # https
|
|
];
|
|
};
|
|
|
|
# This value governs how some stateful data, like databases, are handled
|
|
# across different versions of NixOS. This should not be changed to a new
|
|
# release unless the sysadmin has determined that no services would be
|
|
# adversely affected by changing this.
|
|
system.stateVersion = "23.05";
|
|
|
|
}
|