fix gamemode config bring back foot
This commit is contained in:
parent
95d451e459
commit
5103f403dc
3 changed files with 24 additions and 29 deletions
|
|
@ -19,10 +19,6 @@
|
||||||
niri = {
|
niri = {
|
||||||
url = "github:epireyn/niri-flake";
|
url = "github:epireyn/niri-flake";
|
||||||
};
|
};
|
||||||
system76-scheduler-niri = {
|
|
||||||
url = "github:Kirottu/system76-scheduler-niri";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
|
|
||||||
nix-index-database = {
|
nix-index-database = {
|
||||||
url = "github:nix-community/nix-index-database";
|
url = "github:nix-community/nix-index-database";
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,6 @@ in {
|
||||||
inputs.niri.homeModules.niri
|
inputs.niri.homeModules.niri
|
||||||
|
|
||||||
inputs.noctalia.homeModules.default
|
inputs.noctalia.homeModules.default
|
||||||
inputs.system76-scheduler-niri.homeModules.default
|
|
||||||
];
|
];
|
||||||
options.ezpcusr = {
|
options.ezpcusr = {
|
||||||
enable = mkEnableOption "Enable simple PC user config";
|
enable = mkEnableOption "Enable simple PC user config";
|
||||||
|
|
@ -49,8 +48,6 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
services.system76-scheduler-niri.enable = true;
|
|
||||||
|
|
||||||
services.hypridle = {
|
services.hypridle = {
|
||||||
enable = lib.mkDefault true;
|
enable = lib.mkDefault true;
|
||||||
|
|
||||||
|
|
@ -158,7 +155,7 @@ in {
|
||||||
};
|
};
|
||||||
binds =
|
binds =
|
||||||
{
|
{
|
||||||
"Mod+Return".action.spawn = ["${config.programs.ghostty.package}/bin/ghostty" "--gtk-single-instance=true"];
|
"Mod+Return".action.spawn = ["${config.programs.foot.package}/bin/foot"];
|
||||||
"Mod+q".action = config.lib.niri.actions.close-window;
|
"Mod+q".action = config.lib.niri.actions.close-window;
|
||||||
# "$mod, F, fullscreen, 0"
|
# "$mod, F, fullscreen, 0"
|
||||||
# "$mod SHIFT, F, fullscreen, 1"
|
# "$mod SHIFT, F, fullscreen, 1"
|
||||||
|
|
@ -323,7 +320,7 @@ in {
|
||||||
|
|
||||||
services.playerctld.enable = lib.mkDefault true;
|
services.playerctld.enable = lib.mkDefault true;
|
||||||
|
|
||||||
programs.ghostty = {
|
programs.foot = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -107,30 +107,32 @@ in {
|
||||||
# Optimizes running games
|
# Optimizes running games
|
||||||
programs.gamemode = {
|
programs.gamemode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
general = {
|
settings = {
|
||||||
renice = 10;
|
general = {
|
||||||
ioprio = 0;
|
renice = 10;
|
||||||
inhibit_screensaver = 0;
|
ioprio = 0;
|
||||||
disable_splitlock = 1;
|
inhibit_screensaver = 0;
|
||||||
softrealtime = "auto";
|
disable_splitlock = 1;
|
||||||
};
|
softrealtime = "auto";
|
||||||
|
};
|
||||||
|
|
||||||
# Warning: GPU optimisations have the potential to damage hardware
|
# Warning: GPU optimisations have the potential to damage hardware
|
||||||
#gpu = {
|
#gpu = {
|
||||||
# apply_gpu_optimisations = "accept-responsibility";
|
# apply_gpu_optimisations = "accept-responsibility";
|
||||||
# gpu_device = 0;
|
# gpu_device = 0;
|
||||||
# amd_performance_level = "vr";
|
# amd_performance_level = "vr";
|
||||||
#};
|
#};
|
||||||
|
|
||||||
cpu = {
|
cpu = {
|
||||||
parkcores = "no";
|
parkcores = "no";
|
||||||
pin_cores = "yes";
|
pin_cores = "yes";
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
custom = {
|
custom = {
|
||||||
start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'";
|
start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'";
|
||||||
end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'";
|
end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue