2023-05-17 17:10:18 +01:00
|
|
|
{pkgs, ...}: {
|
2023-03-28 09:34:10 +01:00
|
|
|
imports = [
|
2023-05-05 15:02:31 +01:00
|
|
|
./home
|
2023-03-29 13:43:02 +01:00
|
|
|
./common.nix
|
2023-04-29 12:36:57 +01:00
|
|
|
./hardware/audio.nix
|
|
|
|
./hardware/bluetooth.nix
|
2023-03-29 13:43:02 +01:00
|
|
|
./locales/en_GB.nix
|
2023-05-24 08:21:51 +01:00
|
|
|
./desktop/sddm.nix
|
2023-05-24 07:25:31 +01:00
|
|
|
./desktop/hyprland.nix
|
2023-04-30 10:37:19 +01:00
|
|
|
./desktop/steam.nix
|
2023-05-07 13:01:02 +01:00
|
|
|
./syncthing/Vanguard.nix
|
2023-05-16 11:48:34 +01:00
|
|
|
./server/sshd.nix
|
2023-05-07 18:20:26 +01:00
|
|
|
./server/adguardhome.nix
|
2023-05-11 11:54:42 +01:00
|
|
|
./server/gitea.nix
|
2023-05-16 19:59:31 +01:00
|
|
|
# ./server/nextcloud.nix
|
2023-03-28 19:54:01 +01:00
|
|
|
];
|
2023-03-28 09:01:52 +01:00
|
|
|
|
|
|
|
networking.hostName = "Vanguard"; # Define your hostname.
|
2023-04-30 10:37:19 +01:00
|
|
|
#networking.wireless.networks."LAN LAN Ranch".pskRaw = "d4c31e976456783b61d573ee49c94f93914a81bf1048c2f2e1e166c36bdfcd4a";
|
2023-05-17 17:10:18 +01:00
|
|
|
networking.nameservers = ["192.168.1.166" "9.9.9.9"];
|
|
|
|
networking.firewall = {
|
|
|
|
enable = true;
|
|
|
|
allowedTCPPorts = [22];
|
|
|
|
};
|
2023-04-30 10:37:19 +01:00
|
|
|
|
2023-05-24 08:21:51 +01:00
|
|
|
services.xserver.displayManager.defaultSession = "hyprland";
|
2023-03-28 09:01:52 +01:00
|
|
|
users.users.xenia = {
|
|
|
|
isNormalUser = true;
|
|
|
|
description = "Evie Litherland-Smith";
|
2023-05-17 17:10:18 +01:00
|
|
|
extraGroups = ["networkmanager" "wheel"];
|
2023-03-29 15:38:01 +01:00
|
|
|
shell = pkgs.fish;
|
2023-05-07 13:01:02 +01:00
|
|
|
openssh.authorizedKeys.keys = [
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII1tJFdbiyJApuVZFvo9E9kjlBwvXZeySqVuS2qGdxha tux@monarch"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINI1dWlS16Keil0MGPWmMsBzx8F9ylfz+fRwxUr8/tZ/ ion"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGAcvAQ8W71Bn8pdMYst1hoVCmVJ+0h4HBlJzu1C6dwy xenia@Northstar"
|
|
|
|
];
|
2023-03-28 09:01:52 +01:00
|
|
|
};
|
2023-05-16 09:13:59 +01:00
|
|
|
home-manager.users.root = import ./home/Vanguard/root.nix;
|
|
|
|
home-manager.users.xenia = import ./home/Vanguard/xenia.nix;
|
2023-03-28 09:01:52 +01:00
|
|
|
|
2023-04-04 18:19:44 +01:00
|
|
|
# Extra hardware configuration
|
|
|
|
hardware.openrazer = {
|
|
|
|
enable = true;
|
2023-05-17 17:10:18 +01:00
|
|
|
users = ["xenia"];
|
2023-04-04 18:19:44 +01:00
|
|
|
};
|
2023-05-04 07:01:03 +01:00
|
|
|
|
|
|
|
system.autoUpgrade = {
|
2023-05-07 05:31:52 +01:00
|
|
|
enable = true;
|
2023-05-04 07:01:03 +01:00
|
|
|
allowReboot = false;
|
|
|
|
};
|
2023-03-28 09:01:52 +01:00
|
|
|
}
|