nixos/Vanguard.nix

56 lines
1.6 KiB
Nix
Raw Normal View History

2023-05-17 17:10:18 +01:00
{pkgs, ...}: {
imports = [
./home
./common.nix
./hardware/audio.nix
./hardware/bluetooth.nix
./locales/en_GB.nix
2023-05-24 07:25:31 +01:00
./desktop/hyprland.nix
./services/Vanguard.nix
];
2023-05-26 14:30:42 +01:00
networking = {
hostName = "Vanguard"; # Define your hostname.
nameservers = ["192.168.1.166" "9.9.9.9"];
firewall = {enable = true;};
2023-05-17 17:10:18 +01:00
};
users.users.xenia = {
isNormalUser = true;
description = "Evie Litherland-Smith";
2023-05-17 17:10:18 +01:00
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"
# "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDI44C35I2x9tqzeZDmIpbzmGJWXfATn/Wp5KzVRdlCi root@debian"
];
};
home-manager.users.xenia = import ./home/Vanguard/xenia.nix;
# Enable steam with proper integrations
programs.gamescope.enable = true;
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
};
hardware.steam-hardware.enable = true;
hardware.opengl.driSupport32Bit = true;
# Requirements for Star Citizen
boot.kernel.sysctl."vm.max_map_count" = 16777216;
environment.systemPackages = with pkgs; [mesa lutris wine-wayland mono winetricks];
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
};
system.autoUpgrade = {
2023-05-07 05:31:52 +01:00
enable = true;
allowReboot = false;
};
}