Compare commits
No commits in common. "d4b19a279ec94b8846190368fa3f4eb5c1839871" and "800a2f4ad18f5195938a884540769eecac6ded27" have entirely different histories.
d4b19a279e
...
800a2f4ad1
3 changed files with 9 additions and 9 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{ pkgs, lib, hostname, ... }: {
|
||||
programs.niri.settings.binds = {
|
||||
"XF86AudioRaiseVolume" = { action.spawn = [ "wpctl" "set-volume" "-l" "1" "@DEFAULT_AUDIO_SINK@" "2%+" ]; allow-when-locked = true; };
|
||||
"XF86AudioLowerVolume" = { action.spawn = [ "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "2%-" ]; allow-when-locked = true; };
|
||||
"XF86AudioRaiseVolume" = { action.spawn = [ "wpctl" "set-volume" "-l" "1" "@DEFAULT_AUDIO_SINK@" "5%+" ]; allow-when-locked = true; };
|
||||
"XF86AudioLowerVolume" = { action.spawn = [ "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "5%-" ]; allow-when-locked = true; };
|
||||
"XF86AudioMute" = { action.spawn = [ "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle" ]; allow-when-locked = true; };
|
||||
"XF86AudioMicMute" = { action.spawn = [ "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle" ]; allow-when-locked = true; };
|
||||
"XF86MonBrightnessUp" = { action.spawn = [ "brightnessctl" "s" "10%+" ]; allow-when-locked = true; };
|
||||
|
|
@ -23,10 +23,10 @@
|
|||
"Mod+Shift+Down".action.move-window-down-or-to-workspace-down = {};
|
||||
"Mod+Shift+Left".action.move-column-left = {};
|
||||
"Mod+Shift+Right".action.move-column-right = {};
|
||||
"Mod+Ctrl+Left".action.set-window-width = [ "-2%" ];
|
||||
"Mod+Ctrl+Right".action.set-window-width = [ "+2%" ];
|
||||
"Mod+Ctrl+Down".action.set-window-height = [ "+2%" ];
|
||||
"Mod+Ctrl+Up".action.set-window-height = [ "-2%" ];
|
||||
"Mod+Ctrl+Left".action.set-window-width = [ "-5%" ];
|
||||
"Mod+Ctrl+Right".action.set-window-width = [ "+5%" ];
|
||||
"Mod+Ctrl+Down".action.set-window-height = [ "+5%" ];
|
||||
"Mod+Ctrl+Up".action.set-window-height = [ "-5%" ];
|
||||
|
||||
"Mod+G".action.center-column = {};
|
||||
"Mod+F".action.toggle-window-floating = {};
|
||||
|
|
|
|||
|
|
@ -16,9 +16,6 @@
|
|||
i18n.defaultLocale = locale;
|
||||
environment.localBinInPath = true;
|
||||
|
||||
powerManagement.cpuFreqGovernor = "powersave";
|
||||
boot.kernel.sysctl."vm.swappiness" = 10; # only swap when necessary
|
||||
|
||||
security = {
|
||||
polkit = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -5,6 +5,9 @@
|
|||
inputs.mc.nixosModules.minecraft-servers
|
||||
];
|
||||
nixpkgs.overlays = [ inputs.mc.overlay ];
|
||||
|
||||
powerManagement.cpuFreqGovernor = "powersave"; # performance governor causes overheating and thermal throttling, works fine with powesave
|
||||
boot.kernel.sysctl."vm.swappiness" = 10; # reduce swap usage and keep memory performance smooth
|
||||
|
||||
services.minecraft-servers = {
|
||||
# LOCK IN
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue