2024-06-04 20:36:38 +00:00
|
|
|
{ ... }: {
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
2024-06-04 22:39:40 +00:00
|
|
|
../../common/generic.nix
|
2024-06-05 00:40:31 +00:00
|
|
|
../../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";
|
2024-06-05 00:40:31 +00:00
|
|
|
|
|
|
|
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;
|
2024-06-05 00:40:31 +00:00
|
|
|
networking.firewall.allowedTCPPorts = [ 22 ];
|
|
|
|
|
2024-06-22 08:24:00 +00:00
|
|
|
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";
|
|
|
|
}
|