Nix flake configuration for my various machines (clients and homelab servers)
0

Configure Feed

Select the types of activity you want to include in your feed.

cleanup

Parthiv Krishna (May 2, 2026, 11:42 AM -0700) e8fce5fc 39a726d3

+3 -27
+1 -21
modules/features/desktop/niri/niri.nix
··· 44 44 kitty 45 45 niri 46 46 niriswitcher 47 - nirius 48 47 playerctl 49 48 wl-clipboard-rs 50 49 ]; ··· 87 86 } 88 87 } 89 88 90 - output "eDP-1" { 91 - scale 1.0 92 - } 93 - 94 89 layout { 95 90 gaps 16 96 - 97 - center-focused-column "never" 98 91 99 92 preset-column-widths { 100 93 proportion 0.5 ··· 108 101 active-color "#${base0D}" 109 102 inactive-color "#${base03}" 110 103 } 111 - 112 - border { 113 - off 114 - } 115 - 116 - struts { 117 - left 0 118 - right 0 119 - top 0 120 - bottom 0 121 - } 122 104 } 123 105 124 106 spawn-at-startup "${pkgs.waybar}/bin/waybar" ··· 144 126 screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png" 145 127 146 128 animations { 147 - slowdown 1.0 148 - 149 129 workspace-switch { 150 130 spring damping-ratio=1.0 stiffness=1000 epsilon=0.0001 151 131 } ··· 212 192 let 213 193 key = toString (lib.mod ws 10); 214 194 in 215 - " \${mainMod}+${key} { focus-workspace ${toString ws}; }\n \${mainMod}+Shift+${key} { move-window-to-workspace ${toString ws}; }" 195 + " ${mainMod}+${key} { focus-workspace ${toString ws}; }\n ${mainMod}+Shift+${key} { move-window-to-workspace ${toString ws}; }" 216 196 ) (lib.range 1 10) 217 197 )} 218 198
+2 -2
modules/features/desktop/niri/swaybg.nix
··· 18 18 nixColorsLib = inputs.nix-colors.lib.contrib { inherit pkgs; }; 19 19 wallpaper = nixColorsLib.nixWallpaperFromScheme { 20 20 scheme = config.colorScheme; 21 - width = 1920; 22 - height = 1080; 21 + width = 3840; 22 + height = 2160; 23 23 logoScale = 5.0; 24 24 }; 25 25 in
-4
modules/features/desktop/waybar.nix
··· 57 57 "niri/window" = lib.mkIf isNiri { 58 58 format = "{title}"; 59 59 max-length = 50; 60 - rewrite = { 61 - "(.*) - Mozilla Firefox" = " $1"; 62 - "(.*) - kitty" = " $1"; 63 - }; 64 60 }; 65 61 66 62 tray = {