move some things around
This commit is contained in:
parent
af25753785
commit
473362b5f8
7 changed files with 36 additions and 42 deletions
|
@ -18,10 +18,10 @@ each host should have these files:
|
|||
## todo
|
||||
|
||||
- multi architecture configuration ([nix-systems](https://github.com/nix-systems/nix-systems)?)
|
||||
- divide steam and gamemode?
|
||||
- hidpi option ? mostly auto these days though
|
||||
- better theming for hyprlock, rofi, dunst (accent for hyprlock & dunst, variants for rofi)
|
||||
- some way for border radius, border, tranparency theme options
|
||||
- tags for pip and popups in hyprland config
|
||||
- make wl-clip-persist, polkit agent, and networkmanager applet systemd services?
|
||||
- gtk cursors are MESSED UP. top priority rn
|
||||
- niri.. yum
|
||||
|
|
|
@ -76,6 +76,7 @@
|
|||
system.fish.enable = true;
|
||||
system.syncthing.enable = true;
|
||||
system.flatpak.enable = true;
|
||||
system.mpv.enable = true;
|
||||
# editors
|
||||
editors.micro.enable = true;
|
||||
editors.vscode.enable = true;
|
||||
|
@ -84,12 +85,11 @@
|
|||
# distractions
|
||||
distractions.discord.enable = true;
|
||||
distractions.discord.vesktop = true;
|
||||
distractions.gamemode.enable = true;
|
||||
distractions.steam.enable = true;
|
||||
# tools
|
||||
tools.gpg.enable = true;
|
||||
tools.mpv.enable = true;
|
||||
tools.rbw.enable = true;
|
||||
tools.noisetorch.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -137,6 +137,11 @@ in {
|
|||
"$mod, right, movefocus, r"
|
||||
"$mod, up, movefocus, u"
|
||||
"$mod, down, movefocus, d"
|
||||
# move windows with mod + shift + arrow keys
|
||||
"$mod SHIFT, left, movewindow, l"
|
||||
"$mod SHIFT, right, movewindow, r"
|
||||
"$mod SHIFT, up, movewindow, u"
|
||||
"$mod SHIFT, down, movewindow, d"
|
||||
|
||||
# example special workspace (scratchpad)
|
||||
"$mod, grave, togglespecialworkspace, magic"
|
||||
|
|
26
modules/software/distractions/gamemode.nix
Normal file
26
modules/software/distractions/gamemode.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.software.distractions.gamemode;
|
||||
in {
|
||||
options.modules.software.distractions.gamemode = {
|
||||
enable = mkEnableOption "Enable Gamemode, a program to optimize your system performance on demand";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
# optimize linux system performance on demand
|
||||
# https://github.com/FeralInteractive/gamemode
|
||||
user.extraGroups = [ "gamemode" ];
|
||||
programs.gamemode = {
|
||||
enable = true;
|
||||
enableRenice = true;
|
||||
settings = {
|
||||
general = {
|
||||
softrealtime = "auto";
|
||||
renice = 10;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -11,29 +11,6 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
programs.steam.enable = true;
|
||||
|
||||
# optimize linux system performance on demand
|
||||
# https://github.com/FeralInteractive/gamemode
|
||||
user.extraGroups = [ "gamemode" ];
|
||||
programs.gamemode = {
|
||||
enable = true;
|
||||
enableRenice = true;
|
||||
settings = {
|
||||
custom = {
|
||||
start = "${pkgs.libnotify}/bin/notify-send --app-name GameMode 'GameMode started'";
|
||||
end = "${pkgs.libnotify}/bin/notify-send --app-name GameMode 'GameMode ended'";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.gamescope = {
|
||||
enable = true;
|
||||
capSysNice = true;
|
||||
};
|
||||
programs.steam.gamescopeSession = {
|
||||
enable = true;
|
||||
args = [ "-W 1920" "-H 1080" "-r 60" "--expose-wayland" "-e" ];
|
||||
};
|
||||
|
||||
user.packages = [ pkgs.protontricks pkgs.steam-run ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.software.tools.mpv;
|
||||
cfg = config.modules.software.system.mpv;
|
||||
in {
|
||||
options.modules.software.tools.mpv = {
|
||||
options.modules.software.system.mpv = {
|
||||
enable = mkEnableOption "Enable mpv, a lightweight video player";
|
||||
};
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.software.tools.noisetorch;
|
||||
in {
|
||||
options.modules.software.tools.noisetorch = {
|
||||
enable = mkEnableOption "Enable noisetorch, a microphone noise supression tool";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.noisetorch.enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue