Added steam
This commit is contained in:
parent
8a3b5f4456
commit
ae6c27b08f
4 changed files with 32 additions and 0 deletions
|
@ -120,6 +120,10 @@ in {
|
||||||
"$mod, down, movefocus, d"
|
"$mod, down, movefocus, d"
|
||||||
"$mod, F, fullscreen"
|
"$mod, F, fullscreen"
|
||||||
|
|
||||||
|
# Special Workspaces
|
||||||
|
"$mod SHIFT, F, movetoworkspacesilent, special"
|
||||||
|
"$mod, s, togglespecialworkspace,"
|
||||||
|
|
||||||
# Screenshot
|
# Screenshot
|
||||||
"$mod SHIFT, s, exec, grim -g \"$(slurp -d)\" - | wl-copy"
|
"$mod SHIFT, s, exec, grim -g \"$(slurp -d)\" - | wl-copy"
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,11 @@
|
||||||
opacity = 0.8;
|
opacity = 0.8;
|
||||||
blur = true;
|
blur = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
steam = {
|
||||||
|
enable = true;
|
||||||
|
gamescope = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
hyprland = {
|
hyprland = {
|
||||||
|
|
|
@ -13,5 +13,6 @@ _: {
|
||||||
./WM
|
./WM
|
||||||
./alacritty.nix
|
./alacritty.nix
|
||||||
./firefox.nix
|
./firefox.nix
|
||||||
|
./steam.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
22
modules/gui/steam.nix
Normal file
22
modules/gui/steam.nix
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
|
||||||
|
{ config, lib, inputs, pkgs, ... }:
|
||||||
|
with lib; let
|
||||||
|
username = config.modules.other.system.username;
|
||||||
|
cfg = config.modules.programs.steam;
|
||||||
|
in {
|
||||||
|
options.modules.programs.steam = {
|
||||||
|
enable = mkEnableOption "steam";
|
||||||
|
gamescope = mkEnableOption "gamescope";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
programs.steam = {
|
||||||
|
enable = true;
|
||||||
|
remotePlay.openFirewall = true;
|
||||||
|
dedicatedServer.openFirewall = true;
|
||||||
|
gamescopeSession.enable = mkIf cfg.gamescope true;
|
||||||
|
};
|
||||||
|
home-manager.users.${username} = {
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue