Evie Litherland-Smith
8c7f8dba52
Move collections to use default.nix in relevant directories Combine GUI elements into gui directory
61 lines
1.9 KiB
Nix
61 lines
1.9 KiB
Nix
{ pkgs, ... }:
|
|
{
|
|
imports = [
|
|
./home
|
|
./common.nix
|
|
./hardware/audio.nix
|
|
./hardware/bluetooth.nix
|
|
./locales/en_GB.nix
|
|
./desktop/plasma.nix
|
|
./desktop/steam.nix
|
|
./syncthing/Vanguard.nix
|
|
./server/adguardhome.nix
|
|
./server/gitea.nix
|
|
];
|
|
|
|
networking.hostName = "Vanguard"; # Define your hostname.
|
|
#networking.wireless.networks."LAN LAN Ranch".pskRaw = "d4c31e976456783b61d573ee49c94f93914a81bf1048c2f2e1e166c36bdfcd4a";
|
|
networking.nameservers = [ "192.168.1.166" "9.9.9.9" ];
|
|
services.openssh.enable = true;
|
|
networking.firewall = { enable = true; allowedTCPPorts = [ 22 ]; };
|
|
|
|
services.xserver.displayManager.defaultSession = "plasmawayland";
|
|
|
|
users.users.root.openssh.authorizedKeys.keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII1tJFdbiyJApuVZFvo9E9kjlBwvXZeySqVuS2qGdxha tux@monarch"
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINI1dWlS16Keil0MGPWmMsBzx8F9ylfz+fRwxUr8/tZ/ ion"
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGAcvAQ8W71Bn8pdMYst1hoVCmVJ+0h4HBlJzu1C6dwy xenia@Northstar"
|
|
];
|
|
|
|
users.users.xenia = {
|
|
isNormalUser = true;
|
|
description = "Evie Litherland-Smith";
|
|
extraGroups = [ "networkmanager" "wheel" ];
|
|
shell = pkgs.fish;
|
|
openssh.authorizedKeys.keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII1tJFdbiyJApuVZFvo9E9kjlBwvXZeySqVuS2qGdxha tux@monarch"
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINI1dWlS16Keil0MGPWmMsBzx8F9ylfz+fRwxUr8/tZ/ ion"
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGAcvAQ8W71Bn8pdMYst1hoVCmVJ+0h4HBlJzu1C6dwy xenia@Northstar"
|
|
];
|
|
};
|
|
|
|
home-manager.users.xenia = { ... }: {
|
|
imports = [ ./home/personal.nix ];
|
|
home.username = "xenia";
|
|
home.homeDirectory = "/home/xenia";
|
|
home.stateVersion = "22.11";
|
|
home.packages = with pkgs; [ prismlauncher ];
|
|
};
|
|
|
|
# Extra hardware configuration
|
|
hardware.openrazer = {
|
|
enable = true;
|
|
users = [ "xenia" ];
|
|
};
|
|
|
|
system.autoUpgrade = {
|
|
enable = true;
|
|
allowReboot = false;
|
|
};
|
|
}
|