2023-08-02 00:24:35 +00:00
|
|
|
{ pkgs, ... }:
|
2023-08-02 00:13:35 +00:00
|
|
|
|
|
|
|
{
|
2023-08-02 00:24:35 +00:00
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
];
|
2023-08-02 00:13:35 +00:00
|
|
|
|
2023-10-20 03:23:49 +00:00
|
|
|
boot.loader.grub = {
|
|
|
|
enable = true;
|
|
|
|
device = "/dev/sda";
|
2023-08-02 00:24:35 +00:00
|
|
|
};
|
2023-08-02 00:13:35 +00:00
|
|
|
|
2023-08-02 01:59:06 +00:00
|
|
|
beatific.hostName = "backyard";
|
2023-08-02 00:13:35 +00:00
|
|
|
|
|
|
|
# Enable networking
|
|
|
|
networking.networkmanager.enable = true;
|
2023-08-02 15:18:26 +00:00
|
|
|
users.users.tvb.extraGroups = [ "networkmanager" ];
|
2023-08-02 00:13:35 +00:00
|
|
|
|
2023-08-02 15:39:25 +00:00
|
|
|
networking.firewall = {
|
|
|
|
enable = true;
|
|
|
|
allowedTCPPorts = [
|
|
|
|
80 # http
|
|
|
|
443 # https
|
|
|
|
];
|
|
|
|
};
|
2023-08-02 00:13:35 +00:00
|
|
|
|
2023-08-02 15:39:25 +00:00
|
|
|
# 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";
|
2023-08-02 00:13:35 +00:00
|
|
|
|
|
|
|
}
|