53 lines
1.1 KiB
Nix
53 lines
1.1 KiB
Nix
{pkgs, ...}: {
|
|
imports = [
|
|
./common.nix
|
|
./hardware/audio.nix
|
|
./hardware/bluetooth.nix
|
|
./locales/en_GB.nix
|
|
./desktop/plasma.nix
|
|
./services/syncthing/Vanguard.nix
|
|
];
|
|
environment.systemPackages = with pkgs; [
|
|
mesa
|
|
lutris
|
|
wine-wayland
|
|
mono
|
|
winetricks
|
|
];
|
|
|
|
networking = {
|
|
hostName = "Vanguard"; # Define your hostname.
|
|
nameservers = ["192.168.1.166" "9.9.9.9"];
|
|
firewall = {enable = true;};
|
|
};
|
|
services.xserver.displayManager = {
|
|
defaultSession = "plasma";
|
|
autoLogin.user = "xenia";
|
|
};
|
|
|
|
users.users.xenia = {
|
|
isNormalUser = true;
|
|
description = "Evie Litherland-Smith";
|
|
extraGroups = ["networkmanager" "wheel"];
|
|
shell = pkgs.fish;
|
|
};
|
|
home-manager.users.xenia = import ./home/Vanguard/xenia.nix;
|
|
|
|
# Steam
|
|
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;
|
|
|
|
# Extra hardware configuration
|
|
hardware.openrazer = {
|
|
enable = true;
|
|
users = ["xenia"];
|
|
};
|
|
}
|