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 07:25:31 +01:00
|
|
|
./desktop/hyprland.nix
|
2023-05-26 08:52:46 +01:00
|
|
|
./services/Vanguard.nix
|
2023-03-28 19:54:01 +01:00
|
|
|
];
|
2023-03-28 09:01:52 +01:00
|
|
|
|
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
|
|
|
};
|
2023-04-30 10:37:19 +01:00
|
|
|
|
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-06-04 09:33:25 +01:00
|
|
|
openssh.authorizedKeys.keys = import ./auth/authorized_keys.nix;
|
2023-03-28 09:01:52 +01:00
|
|
|
};
|
2023-05-16 09:13:59 +01:00
|
|
|
home-manager.users.xenia = import ./home/Vanguard/xenia.nix;
|
2023-03-28 09:01:52 +01:00
|
|
|
|
2023-05-25 12:22:44 +01:00
|
|
|
# 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;
|
|
|
|
|
2023-05-26 18:37:50 +01:00
|
|
|
# Requirements for Star Citizen
|
|
|
|
boot.kernel.sysctl."vm.max_map_count" = 16777216;
|
2023-05-27 16:27:21 +01:00
|
|
|
environment.systemPackages = with pkgs; [mesa lutris wine-wayland mono winetricks];
|
2023-05-26 18:37:50 +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
|
|
|
}
|