chore(marr): clean swayidle and steam
This commit is contained in:
parent
fe2326b9aa
commit
208bea6f60
4 changed files with 21 additions and 8 deletions
|
@ -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;
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
inputs,
|
||||||
username,
|
username,
|
||||||
pubkeys,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
|
|
@ -40,7 +40,6 @@
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
blueman-applet.enable = true;
|
blueman-applet.enable = true;
|
||||||
swayidle.enable = true;
|
|
||||||
syncthing.enable = true;
|
syncthing.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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 ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue