forest/hosts/amy/configuration.nix

46 lines
892 B
Nix
Raw Normal View History

2024-06-04 20:36:38 +00:00
{ ... }: {
imports = [
./hardware-configuration.nix
../../common/generic.nix
../../common/server.nix
../../common/tailscale.nix
2024-06-04 20:36:38 +00:00
];
zramSwap.enable = true;
networking.hostName = "amy";
networking.domain = "serv.ashhhleyyy.dev";
time.timeZone = "Europe/London";
i18n.defaultLocale = "en_GB.UTF-8";
services.xserver = {
layout = "gb";
xkbVariant = "";
};
console.keyMap = "uk";
nix.settings.trusted-users = [ "@wheel" ];
nixpkgs.config.allowUnfree = true;
2024-06-04 20:36:38 +00:00
services.openssh.enable = true;
# networking.firewall.allowedTCPPorts = [ 22 ];
networking = {
interfaces = {
ens18.ipv6.addresses = [{
address = "2a02:c202:2191:6731:0000:0000:0000:0001";
prefixLength = 64;
}];
};
defaultGateway6 = {
address = "fe80::1";
interface = "ens18";
};
};
2024-06-04 20:36:38 +00:00
system.stateVersion = "23.11";
}