chore(marr): clean swayidle and steam

This commit is contained in:
Nydragon 2024-11-04 16:10:58 +01:00
parent fe2326b9aa
commit 208bea6f60
Signed by: nydragon
SSH key fingerprint: SHA256:WcjW5NJPQ8Dx4uQDmoIlVPLWE27Od3fxoe0IUvuoPHE
4 changed files with 21 additions and 8 deletions

View file

@ -7,6 +7,10 @@
... ...
}: }:
lib.mkIf osConfig.programs.sway.enable { lib.mkIf osConfig.programs.sway.enable {
services.swayidle.enable = true;
programs.hyprlock.enable = true;
wayland.windowManager.sway = wayland.windowManager.sway =
let let
homeDirectory = config.home.homeDirectory; homeDirectory = config.home.homeDirectory;

View file

@ -3,7 +3,6 @@
pkgs, pkgs,
inputs, inputs,
username, username,
pubkeys,
... ...
}: }:
{ {

View file

@ -40,7 +40,6 @@
services = { services = {
blueman-applet.enable = true; blueman-applet.enable = true;
swayidle.enable = true;
syncthing.enable = true; syncthing.enable = true;
}; };

View file

@ -4,11 +4,22 @@
config, config,
... ...
}: }:
lib.mkIf config.programs.steam.enable { {
programs.steam = { config = lib.mkIf config.programs.steam.enable {
gamescopeSession.enable = true; # Adds a steam entry to the login manager programs.gamescope = {
extest.enable = true; enable = true;
localNetworkGameTransfers.openFirewall = true; capSysNice = true;
extraCompatPackages = with pkgs; [ proton-ge-bin ]; };
environment = {
systemPackages = [ pkgs.mangohud ];
};
programs.steam = {
gamescopeSession.enable = true; # Adds a steam entry to the login manager
extest.enable = true;
localNetworkGameTransfers.openFirewall = true;
extraCompatPackages = with pkgs; [ proton-ge-bin ];
};
}; };
} }