diff options
| author | 2025-05-07 15:42:25 -0400 | |
|---|---|---|
| committer | 2025-05-07 15:42:25 -0400 | |
| commit | f94b0f1370d4633cba8397642e809bc39d4461f8 (patch) | |
| tree | b8dd8ed889d8c7d4f7383490ee86fb87e04deffc /nix | |
| parent | 4366ae6eb9a4f3db04a3ea5323eb2f18bedef630 (diff) | |
| download | dotfiles-f94b0f1370d4633cba8397642e809bc39d4461f8.tar.gz dotfiles-f94b0f1370d4633cba8397642e809bc39d4461f8.tar.bz2 dotfiles-f94b0f1370d4633cba8397642e809bc39d4461f8.zip | |
Add some gentoo host files
Diffstat (limited to 'nix')
| -rw-r--r-- | nix/gaming.nix | 6 | ||||
| -rw-r--r-- | nix/programs/kitty.nix | 6 | ||||
| -rw-r--r-- | nix/programs/nvim.nix | 2 | ||||
| -rw-r--r-- | nix/programs/sway.nix | 24 | ||||
| -rw-r--r-- | nix/user.nix | 1 |
5 files changed, 28 insertions, 11 deletions
diff --git a/nix/gaming.nix b/nix/gaming.nix index f43a21f..2b52aa2 100644 --- a/nix/gaming.nix +++ b/nix/gaming.nix @@ -6,7 +6,6 @@ in { extraGroups = [ "gamemode" ]; }; environment.systemPackages = with pkgs; lib.lists.flatten [ - mangohud (asNeeded "gamepad-tool" ["gamepad-tool"]) (asNeeded "sdl-jstest" ["sdl-jstest" "sdl2-jstest"]) (asNeeded "protontricks" ["protontricks" "protontricks-launch"]) @@ -38,7 +37,8 @@ in { export VKD3D_SHADER_DEBUG=none export mesa_glthread=true xrandr --output ${loc.monitors.monitor1} --primary - exec env --unset=SDL_VIDEODRIVER --unset=SDL_VIDEO_DRIVER MANGOHUD=1 gamemoderun "$@" + #exec env --unset=SDL_VIDEODRIVER --unset=SDL_VIDEO_DRIVER mangohud gamemoderun "$@" + exec env mangohud gamemoderun "$@" '') ]; #hardware.xone.enable = true; @@ -116,6 +116,7 @@ in { programs.mangohud = { enable = true; enableSessionWide = false; + package = (pkgs.mangohud.override { nvidiaSupport = false; }); settings = { gamemode = true; cpu_temp = true; @@ -133,6 +134,7 @@ in { engine_version = true; wine = true; winesync = true; + display_server = true; present_mode = true; table_columns = 4; cellpadding_y = -0.100; diff --git a/nix/programs/kitty.nix b/nix/programs/kitty.nix index 624c0b0..0e2ad0b 100644 --- a/nix/programs/kitty.nix +++ b/nix/programs/kitty.nix @@ -37,9 +37,9 @@ in { cursor_shape block #cursor_blink_interval -1 linear ease-out #cursor_stop_blinking_after 20.0 - cursor_trail 50 - cursor_trail_decay 0.1 0.5 - cursor_trail_start_threshold 2 + cursor_trail 2 + cursor_trail_decay 0.075 0.425 + cursor_trail_start_threshold 3 foreground #${colo.foreground} background #${colo.background} color0 #${colo.color0} diff --git a/nix/programs/nvim.nix b/nix/programs/nvim.nix index d60b752..5c70f35 100644 --- a/nix/programs/nvim.nix +++ b/nix/programs/nvim.nix @@ -57,7 +57,7 @@ let hi FloatShadowThrough guibg=#${colo.color6} blend=100 hi Folded guifg=#${colo.color5} guibg=#${colo.background} hi LineNr guifg=#${colo.color6} - hi MatchParen guibg=#${colo.color6} gui=bold + hi MatchParen guifg=#${colo.color6} guibg=#${colo.background} gui=bold hi ModeMsg guifg=#${colo.color4} hi MoreMsg guifg=#${colo.color2} hi NonText guifg=#${colo.color6} diff --git a/nix/programs/sway.nix b/nix/programs/sway.nix index 33660bc..eb30595 100644 --- a/nix/programs/sway.nix +++ b/nix/programs/sway.nix @@ -51,6 +51,11 @@ in { # }; # }; # }; + qt = { + enable = true; + platformTheme = "qt5ct"; # Also selects qt6ct. + style = "adwaita"; + }; home-manager.users.andrew = { home.sessionVariables = { XDG_CURRENT_DESKTOP = "sway"; @@ -84,6 +89,8 @@ in { gtk = let # *_shade_color is adjusted from black by default. extraCss3 = '' + @define-color shade_color #${colo.background}; + @define-color scrollbar_outline_color #${colo.foreground}; @define-color window_bg_color #${colo.background}; @define-color window_fg_color #${colo.foreground}; @define-color view_bg_color #${colo.background}; @@ -112,6 +119,11 @@ in { @define-color sidebar_bg_color #${colo.background}; @define-color sidebar_fg_color #${colo.foreground}; @define-color sidebar_backdrop_color #${colo.background}; + @define-color sidebar_border_color #${colo.color5}; + @define-color secondary_sidebar_bg_color #${colo.background}; + @define-color secondary_sidebar_fg_color #${colo.foreground}; + @define-color secondary_sidebar_backdrop_color #${colo.background}; + @define-color secondary_sidebar_border_color #${colo.color6}; @define-color warning_bg_color #${colo.color4}; @define-color warning_fg_color #${colo.foreground}; @define-color warning_color #${colo.color4}; @@ -326,11 +338,13 @@ in { }; services.mako = { enable = true; - defaultTimeout = 14000; - font = "${loc.font.name} ${toString loc.ui-font.size}"; - backgroundColor = "#${colo.background}"; - textColor = "#${colo.foreground}"; - borderColor = "#${colo.color6}"; + settings = { + defaultTimeout = 14000; + font = "${loc.font.name} ${toString loc.ui-font.size}"; + backgroundColor = "#${colo.background}"; + textColor = "#${colo.foreground}"; + borderColor = "#${colo.color6}"; + }; }; }; } diff --git a/nix/user.nix b/nix/user.nix index d81e6c2..a7b71a8 100644 --- a/nix/user.nix +++ b/nix/user.nix @@ -30,6 +30,7 @@ in { nanum-gothic-coding iosevka-comfy.comfy dina-font + freefont_ttf # FreeMono ]; fontconfig = { enable = true; |