Compare commits
No commits in common. "64958b068f62bbcac8d939d2b2002dfb8de62926" and "6f5759488496ffd6f30ebc99af920641b3c69613" have entirely different histories.
64958b068f
...
6f57594884
@ -22,9 +22,7 @@
|
||||
# ../common/optional/gdm.nix
|
||||
../common/optional/greetd.nix
|
||||
|
||||
../common/optional/gamemode.nix
|
||||
# ../common/optional/redshift.nix
|
||||
# ../common/optional/redshift.nix
|
||||
../common/optional/redshift.nix
|
||||
../common/optional/virtualbox.nix
|
||||
../common/optional/xdg-portal.nix # TODO: not needed?
|
||||
../common/optional/polkit.nix # TODO: maybe not needed!
|
||||
|
@ -1,24 +0,0 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
|
||||
programs.gamemode = {
|
||||
enable = true;
|
||||
settings = {
|
||||
general = {
|
||||
softrealtime = "auto";
|
||||
inhibit_screensaver = 1;
|
||||
renice = 5;
|
||||
};
|
||||
# gpu = {
|
||||
# apply_gpu_optimisations = "accept-responsibility";
|
||||
# gpu_device = 1;
|
||||
# amd_performance_level = "high";
|
||||
# };
|
||||
custom = {
|
||||
start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'";
|
||||
end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
18
hosts/common/optional/wayland.nix
Normal file
18
hosts/common/optional/wayland.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
|
||||
environment.sessionVariables.NIXOS_OZONE_WL = "1"; # Hint electron apps to use wayland
|
||||
|
||||
security.pam.services.gtklock = { };
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
kdePackages.qtwayland
|
||||
wl-clipboard
|
||||
];
|
||||
}
|
@ -24,7 +24,6 @@ in
|
||||
"podman"
|
||||
"docker"
|
||||
"git"
|
||||
"gamemode"
|
||||
];
|
||||
|
||||
openssh.authorizedKeys.keys = lib.splitString "\n" (
|
||||
|
Loading…
x
Reference in New Issue
Block a user