nixos/Vanguard.nix
Evie Litherland-Smith ebcfae9f37 Add requirements for Star Citizen
Increase vm.max_map_count
Add lutris, wine(-wayland) and winetricks packages
2023-05-26 18:37:50 +01:00

56 lines
1.5 KiB
Nix

{pkgs, ...}: {
imports = [
./home
./common.nix
./hardware/audio.nix
./hardware/bluetooth.nix
./locales/en_GB.nix
./desktop/hyprland.nix
./services/Vanguard.nix
];
networking = {
hostName = "Vanguard"; # Define your hostname.
nameservers = ["192.168.1.166" "9.9.9.9"];
firewall = {enable = true;};
};
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.root = import ./home/Vanguard/root.nix;
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 winetricks];
# Extra hardware configuration
hardware.openrazer = {
enable = true;
users = ["xenia"];
};
system.autoUpgrade = {
enable = true;
allowReboot = false;
};
}