swaylock and swayidle
This commit is contained in:
parent
cd2c8228a8
commit
6cc4642526
4 changed files with 57 additions and 4 deletions
|
@ -1,5 +1,12 @@
|
|||
{ lib, config, pkgs, ... }: let
|
||||
inherit (lib) mkIf mkMerge;
|
||||
holo = pkgs.writeShellApplication {
|
||||
name = "holo";
|
||||
runtimeInputs = [ pkgs.steam pkgs.gamescope ];
|
||||
text = ''
|
||||
gamescope -f -h 1504 -w 2256 -r 60 -F fsr -e -- steam
|
||||
'';
|
||||
};
|
||||
in mkIf config.withGames (mkMerge [
|
||||
(mkIf config.withImpermanence {
|
||||
environment.persistence."/persist".users.${config.username}= {
|
||||
|
@ -15,8 +22,9 @@ in mkIf config.withGames (mkMerge [
|
|||
programs.gamemode.enable = true;
|
||||
|
||||
home-manager.users.${config.username} = {
|
||||
home.packages = with pkgs; [
|
||||
prismlauncher
|
||||
home.packages = [
|
||||
pkgs.prismlauncher
|
||||
holo
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue