Add gamescope as desktop session, default to no autoUpgrade
Set autoUpgrade config for Legion as it's on all the time Remove xrdp
This commit is contained in:
parent
3614eb1353
commit
b388bdae94
|
@ -23,6 +23,11 @@
|
|||
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
allowReboot = false;
|
||||
dates = "03:00";
|
||||
allowReboot = true;
|
||||
rebootWindow = {
|
||||
lower = "01:00";
|
||||
upper = "05:00";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
24
Vanguard.nix
24
Vanguard.nix
|
@ -6,8 +6,16 @@
|
|||
./hardware/bluetooth.nix
|
||||
./locales/en_GB.nix
|
||||
./desktop/hyprland.nix
|
||||
./desktop/steam.nix
|
||||
./services/syncthing/Vanguard.nix
|
||||
];
|
||||
environment.systemPackages = with pkgs; [
|
||||
mesa
|
||||
lutris
|
||||
wine-wayland
|
||||
mono
|
||||
winetricks
|
||||
];
|
||||
|
||||
networking = {
|
||||
hostName = "Vanguard"; # Define your hostname.
|
||||
|
@ -20,31 +28,15 @@
|
|||
description = "Evie Litherland-Smith";
|
||||
extraGroups = ["networkmanager" "wheel"];
|
||||
shell = pkgs.fish;
|
||||
openssh.authorizedKeys.keys = import ./auth/authorized_keys.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 mono winetricks];
|
||||
|
||||
# Extra hardware configuration
|
||||
hardware.openrazer = {
|
||||
enable = true;
|
||||
users = ["xenia"];
|
||||
};
|
||||
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
allowReboot = false;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{...}: {
|
||||
{lib, ...}: {
|
||||
nix = {
|
||||
settings.experimental-features = ["nix-command" "flakes"];
|
||||
gc = {
|
||||
|
@ -11,6 +11,7 @@
|
|||
keep-derivations = true
|
||||
'';
|
||||
};
|
||||
system.autoUpgrade.enable = lib.mkDefault false;
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
home-manager = {
|
||||
useUserPackages = false;
|
||||
|
|
11
desktop/gamescope.nix
Normal file
11
desktop/gamescope.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{...}: {
|
||||
imports = [./sddm.nix];
|
||||
programs.gamescope.enable = true;
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
gamescopeSession.enable = true;
|
||||
};
|
||||
hardware.steam-hardware.enable = true;
|
||||
hardware.opengl.driSupport32Bit = true;
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
{...}: {
|
||||
imports = [./xserver.nix];
|
||||
services.xrdp = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
}
|
|
@ -7,5 +7,3 @@ monitor=DP-2,highrr,auto,1
|
|||
windowrule = workspace 4 silent, ^(discord)$
|
||||
windowrule = workspace 5 silent, ^(Steam|steamwebhelper)$
|
||||
windowrule = monitor 1, ^(Steam|steamwebhelper)$
|
||||
|
||||
exec-once = steam
|
||||
|
|
Loading…
Reference in a new issue