chore: cleanup configuration.nix for lea and amy

This commit is contained in:
Ashhhleyyy 2024-06-05 01:40:31 +01:00
parent 12bb209156
commit a3cb3422ec
Signed by: ash
GPG key ID: 83B789081A0878FB
2 changed files with 20 additions and 2 deletions

View file

@ -2,11 +2,31 @@
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
../../common/generic.nix ../../common/generic.nix
../../common/server.nix
../../common/tailscale.nix
]; ];
zramSwap.enable = true; zramSwap.enable = true;
networking.hostName = "amy"; networking.hostName = "amy";
networking.domain = "serv.ashhhleyyy.dev"; 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;
services.openssh.enable = true; services.openssh.enable = true;
networking.firewall.allowedTCPPorts = [ 22 ];
system.stateVersion = "23.11"; system.stateVersion = "23.11";
} }

View file

@ -4,7 +4,6 @@
imports = imports =
[ [
./hardware-configuration.nix ./hardware-configuration.nix
../../common/cachix.nix
../../common/generic.nix ../../common/generic.nix
../../common/server.nix ../../common/server.nix
../../common/tailscale.nix ../../common/tailscale.nix
@ -38,7 +37,6 @@
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
helix
smartmontools smartmontools
]; ];