a dotfile but it's really big

noctalia: fix nesting

karitham.dev a0e6e3e9 cd72e7d3

verified
+495 -495
+495 -495
modules/desktop/wm/noctalia.nix
··· 8 8 imports = [ inputs.noctalia.homeModules.default ]; 9 9 10 10 config = lib.mkIf config.desktop.noctalia.enable { 11 + programs.niri.settings = { 12 + spawn-at-startup = [ { command = [ (lib.getExe config.programs.noctalia-shell.package) ]; } ]; 13 + 14 + binds = { 15 + "Mod+R".action.spawn = [ 16 + "noctalia-shell" 17 + "ipc" 18 + "call" 19 + "launcher" 20 + "toggle" 21 + ]; 22 + "Mod+Shift+N".action.spawn = [ 23 + "noctalia-shell" 24 + "ipc" 25 + "call" 26 + "controlCenter" 27 + "toggle" 28 + ]; 29 + "Mod+Shift+O".action.spawn = [ 30 + "noctalia-shell" 31 + "ipc" 32 + "call" 33 + "sessionMenu" 34 + "toggle" 35 + ]; 36 + }; 37 + }; 38 + 11 39 programs.noctalia-shell = { 12 40 enable = true; 13 - systemd.enable = true; 14 41 settings = { 15 - enable = true; 16 - settings = { 17 - settingsVersion = 45; 18 - appLauncher = { 19 - autoPasteClipboard = false; 20 - clipboardWrapText = true; 21 - customLaunchPrefix = ""; 22 - customLaunchPrefixEnabled = false; 23 - enableClipPreview = true; 24 - enableClipboardHistory = false; 25 - enableSettingsSearch = true; 26 - iconMode = "native"; 27 - ignoreMouseInput = false; 28 - pinnedApps = [ 29 - "firefox-devedition" 30 - "com.mitchellh.ghostty" 31 - "vesktop" 32 - "signal" 33 - ]; 34 - position = "center"; 35 - screenshotAnnotationTool = ""; 36 - showCategories = false; 37 - showIconBackground = false; 38 - sortByMostUsed = true; 39 - terminalCommand = "ghostty -e"; 40 - useApp2Unit = false; 41 - viewMode = "grid"; 42 - }; 43 - audio = { 44 - cavaFrameRate = 30; 45 - mprisBlacklist = [ ]; 46 - preferredPlayer = ""; 47 - visualizerType = "linear"; 48 - volumeFeedback = false; 49 - volumeOverdrive = false; 50 - volumeStep = 5; 51 - }; 52 - bar = { 53 - backgroundOpacity = 0.93; 54 - barType = "simple"; 55 - capsuleOpacity = 1; 56 - density = "default"; 57 - exclusive = true; 58 - floating = false; 59 - frameRadius = 12; 60 - frameThickness = 8; 61 - hideOnOverview = false; 62 - marginHorizontal = 4; 63 - marginVertical = 4; 64 - monitors = [ ]; 65 - outerCorners = true; 66 - position = "top"; 67 - screenOverrides = [ ]; 68 - showCapsule = true; 69 - showOutline = false; 70 - useSeparateOpacity = false; 71 - widgets = { 72 - center = [ 73 - { 74 - characterCount = 2; 75 - colorizeIcons = false; 76 - emptyColor = "secondary"; 77 - enableScrollWheel = true; 78 - focusedColor = "primary"; 79 - followFocusedScreen = false; 80 - groupedBorderOpacity = 1; 81 - hideUnoccupied = false; 82 - iconScale = 0.8; 83 - id = "Workspace"; 84 - labelMode = "index"; 85 - occupiedColor = "secondary"; 86 - showApplications = false; 87 - showBadge = true; 88 - showLabelsOnlyWhenOccupied = true; 89 - unfocusedIconsOpacity = 1; 90 - } 91 - ]; 92 - left = [ 93 - { 94 - icon = "rocket"; 95 - id = "Launcher"; 96 - usePrimaryColor = false; 97 - } 98 - { 99 - customFont = ""; 100 - formatHorizontal = "HH:mm ddd, MMM dd"; 101 - formatVertical = "HH mm - dd MM"; 102 - id = "Clock"; 103 - tooltipFormat = "HH:mm ddd, MMM dd"; 104 - useCustomFont = false; 105 - usePrimaryColor = false; 106 - } 107 - { 108 - compactMode = true; 109 - diskPath = "/"; 110 - id = "SystemMonitor"; 111 - showCpuTemp = true; 112 - showCpuUsage = true; 113 - showDiskUsage = false; 114 - showGpuTemp = false; 115 - showLoadAverage = false; 116 - showMemoryAsPercent = false; 117 - showMemoryUsage = true; 118 - showNetworkStats = false; 119 - showSwapUsage = false; 120 - useMonospaceFont = true; 121 - usePrimaryColor = false; 122 - } 123 - { 124 - colorizeIcons = false; 125 - hideMode = "hidden"; 126 - id = "ActiveWindow"; 127 - maxWidth = 145; 128 - scrollingMode = "hover"; 129 - showIcon = true; 130 - useFixedWidth = false; 131 - } 132 - { 133 - compactMode = false; 134 - compactShowAlbumArt = true; 135 - compactShowVisualizer = false; 136 - hideMode = "hidden"; 137 - hideWhenIdle = false; 138 - id = "MediaMini"; 139 - maxWidth = 145; 140 - panelShowAlbumArt = true; 141 - panelShowVisualizer = true; 142 - scrollingMode = "hover"; 143 - showAlbumArt = true; 144 - showArtistFirst = true; 145 - showProgressRing = true; 146 - showVisualizer = false; 147 - useFixedWidth = false; 148 - visualizerType = "linear"; 149 - } 150 - ]; 151 - right = [ 152 - { 153 - blacklist = [ ]; 154 - colorizeIcons = false; 155 - drawerEnabled = true; 156 - hidePassive = false; 157 - id = "Tray"; 158 - pinned = [ ]; 159 - } 160 - { 161 - hideWhenZero = false; 162 - hideWhenZeroUnread = false; 163 - id = "NotificationHistory"; 164 - showUnreadBadge = true; 165 - } 166 - { 167 - deviceNativePath = ""; 168 - displayMode = "onhover"; 169 - hideIfIdle = false; 170 - hideIfNotDetected = true; 171 - id = "Battery"; 172 - showNoctaliaPerformance = false; 173 - showPowerProfiles = false; 174 - warningThreshold = 30; 175 - } 176 - { 177 - displayMode = "onhover"; 178 - id = "Volume"; 179 - middleClickCommand = "pwvucontrol || pavucontrol"; 180 - } 181 - { 182 - displayMode = "onhover"; 183 - id = "Brightness"; 184 - } 185 - { 186 - colorizeDistroLogo = false; 187 - colorizeSystemIcon = "none"; 188 - customIconPath = ""; 189 - enableColorization = false; 190 - icon = "noctalia"; 191 - id = "ControlCenter"; 192 - useDistroLogo = false; 193 - } 194 - ]; 195 - }; 196 - }; 197 - brightness = { 198 - brightnessStep = 5; 199 - enableDdcSupport = false; 200 - enforceMinimum = true; 201 - }; 202 - calendar = { 203 - cards = [ 42 + settingsVersion = 0; 43 + appLauncher = { 44 + autoPasteClipboard = false; 45 + clipboardWrapText = true; 46 + customLaunchPrefix = ""; 47 + customLaunchPrefixEnabled = false; 48 + enableClipPreview = true; 49 + enableClipboardHistory = false; 50 + enableSettingsSearch = true; 51 + iconMode = "native"; 52 + ignoreMouseInput = false; 53 + pinnedApps = [ 54 + "firefox-devedition" 55 + "com.mitchellh.ghostty" 56 + "vesktop" 57 + "signal" 58 + ]; 59 + position = "center"; 60 + screenshotAnnotationTool = ""; 61 + showCategories = false; 62 + showIconBackground = false; 63 + sortByMostUsed = true; 64 + terminalCommand = "ghostty -e"; 65 + useApp2Unit = false; 66 + viewMode = "grid"; 67 + }; 68 + audio = { 69 + cavaFrameRate = 30; 70 + mprisBlacklist = [ ]; 71 + preferredPlayer = ""; 72 + visualizerType = "linear"; 73 + volumeFeedback = false; 74 + volumeOverdrive = false; 75 + volumeStep = 5; 76 + }; 77 + bar = { 78 + backgroundOpacity = 0.93; 79 + barType = "simple"; 80 + capsuleOpacity = 1; 81 + density = "default"; 82 + exclusive = true; 83 + floating = false; 84 + frameRadius = 12; 85 + frameThickness = 8; 86 + hideOnOverview = false; 87 + marginHorizontal = 4; 88 + marginVertical = 4; 89 + monitors = [ ]; 90 + outerCorners = true; 91 + position = "top"; 92 + screenOverrides = [ ]; 93 + showCapsule = true; 94 + showOutline = false; 95 + useSeparateOpacity = false; 96 + widgets = { 97 + center = [ 204 98 { 205 - enabled = true; 206 - id = "calendar-header-card"; 207 - } 208 - { 209 - enabled = true; 210 - id = "calendar-month-card"; 211 - } 212 - { 213 - enabled = true; 214 - id = "weather-card"; 99 + characterCount = 2; 100 + colorizeIcons = false; 101 + emptyColor = "secondary"; 102 + enableScrollWheel = true; 103 + focusedColor = "primary"; 104 + followFocusedScreen = false; 105 + groupedBorderOpacity = 1; 106 + hideUnoccupied = false; 107 + iconScale = 0.8; 108 + id = "Workspace"; 109 + labelMode = "index"; 110 + occupiedColor = "secondary"; 111 + showApplications = false; 112 + showBadge = true; 113 + showLabelsOnlyWhenOccupied = true; 114 + unfocusedIconsOpacity = 1; 215 115 } 216 116 ]; 217 - }; 218 - colorSchemes = { 219 - darkMode = true; 220 - generationMethod = "tonal-spot"; 221 - manualSunrise = "06:30"; 222 - manualSunset = "18:30"; 223 - monitorForColors = ""; 224 - predefinedScheme = "Catppuccin"; 225 - schedulingMode = "off"; 226 - useWallpaperColors = false; 227 - }; 228 - controlCenter = { 229 - cards = [ 117 + left = [ 230 118 { 231 - enabled = true; 232 - id = "profile-card"; 119 + icon = "rocket"; 120 + id = "Launcher"; 121 + usePrimaryColor = false; 233 122 } 234 123 { 235 - enabled = true; 236 - id = "shortcuts-card"; 124 + customFont = ""; 125 + formatHorizontal = "HH:mm ddd, MMM dd"; 126 + formatVertical = "HH mm - dd MM"; 127 + id = "Clock"; 128 + tooltipFormat = "HH:mm ddd, MMM dd"; 129 + useCustomFont = false; 130 + usePrimaryColor = false; 237 131 } 238 132 { 239 - enabled = true; 240 - id = "audio-card"; 133 + compactMode = true; 134 + diskPath = "/"; 135 + id = "SystemMonitor"; 136 + showCpuTemp = true; 137 + showCpuUsage = true; 138 + showDiskUsage = false; 139 + showGpuTemp = false; 140 + showLoadAverage = false; 141 + showMemoryAsPercent = false; 142 + showMemoryUsage = true; 143 + showNetworkStats = false; 144 + showSwapUsage = false; 145 + useMonospaceFont = true; 146 + usePrimaryColor = false; 241 147 } 242 148 { 243 - enabled = false; 244 - id = "brightness-card"; 149 + colorizeIcons = false; 150 + hideMode = "hidden"; 151 + id = "ActiveWindow"; 152 + maxWidth = 145; 153 + scrollingMode = "hover"; 154 + showIcon = true; 155 + useFixedWidth = false; 245 156 } 246 157 { 247 - enabled = true; 248 - id = "weather-card"; 249 - } 250 - { 251 - enabled = true; 252 - id = "media-sysmon-card"; 158 + compactMode = false; 159 + compactShowAlbumArt = true; 160 + compactShowVisualizer = false; 161 + hideMode = "hidden"; 162 + hideWhenIdle = false; 163 + id = "MediaMini"; 164 + maxWidth = 145; 165 + panelShowAlbumArt = true; 166 + panelShowVisualizer = true; 167 + scrollingMode = "hover"; 168 + showAlbumArt = true; 169 + showArtistFirst = true; 170 + showProgressRing = true; 171 + showVisualizer = false; 172 + useFixedWidth = false; 173 + visualizerType = "linear"; 253 174 } 254 175 ]; 255 - diskPath = "/"; 256 - position = "close_to_bar_button"; 257 - shortcuts = { 258 - left = [ 259 - { id = "Network"; } 260 - { id = "Bluetooth"; } 261 - { id = "WallpaperSelector"; } 262 - { id = "NoctaliaPerformance"; } 263 - ]; 264 - right = [ 265 - { id = "Notifications"; } 266 - { id = "PowerProfile"; } 267 - { id = "KeepAwake"; } 268 - { id = "NightLight"; } 269 - ]; 270 - }; 271 - }; 272 - desktopWidgets = { 273 - enabled = false; 274 - gridSnap = false; 275 - monitorWidgets = [ ]; 276 - }; 277 - dock = { 278 - animationSpeed = 1; 279 - backgroundOpacity = 1; 280 - colorizeIcons = false; 281 - deadOpacity = 0.6; 282 - displayMode = "auto_hide"; 283 - enabled = true; 284 - floatingRatio = 1; 285 - inactiveIndicators = false; 286 - monitors = [ "eDP-1" ]; 287 - onlySameOutput = true; 288 - pinnedApps = [ ]; 289 - pinnedStatic = false; 290 - position = "bottom"; 291 - size = 1; 292 - }; 293 - general = { 294 - allowPanelsOnScreenWithoutBar = true; 295 - animationDisabled = false; 296 - animationSpeed = 1; 297 - autoStartAuth = false; 298 - avatarImage = "/home/${config.my.username}/.face"; 299 - boxRadiusRatio = 1; 300 - compactLockScreen = false; 301 - dimmerOpacity = 0.2; 302 - enableLockScreenCountdown = true; 303 - enableShadows = true; 304 - forceBlackScreenCorners = false; 305 - iRadiusRatio = 1; 306 - language = ""; 307 - lockOnSuspend = true; 308 - lockScreenCountdownDuration = 10000; 309 - radiusRatio = 1; 310 - scaleRatio = 1; 311 - screenRadiusRatio = 0; 312 - shadowDirection = "bottom_right"; 313 - shadowOffsetX = 2; 314 - shadowOffsetY = 3; 315 - showChangelogOnStartup = true; 316 - showHibernateOnLockScreen = false; 317 - showScreenCorners = false; 318 - showSessionButtonsOnLockScreen = true; 319 - telemetryEnabled = false; 320 - }; 321 - hooks = { 322 - darkModeChange = ""; 323 - enabled = false; 324 - performanceModeDisabled = ""; 325 - performanceModeEnabled = ""; 326 - screenLock = ""; 327 - screenUnlock = ""; 328 - session = ""; 329 - startup = ""; 330 - wallpaperChange = ""; 331 - }; 332 - location = { 333 - analogClockInCalendar = false; 334 - firstDayOfWeek = -1; 335 - hideWeatherCityName = false; 336 - hideWeatherTimezone = false; 337 - name = "Paris"; 338 - showCalendarEvents = true; 339 - showCalendarWeather = true; 340 - showWeekNumberInCalendar = false; 341 - use12hourFormat = false; 342 - useFahrenheit = false; 343 - weatherEnabled = true; 344 - weatherShowEffects = true; 345 - }; 346 - network = { 347 - bluetoothDetailsViewMode = "grid"; 348 - bluetoothHideUnnamedDevices = false; 349 - bluetoothRssiPollIntervalMs = 10000; 350 - bluetoothRssiPollingEnabled = false; 351 - wifiDetailsViewMode = "grid"; 352 - wifiEnabled = true; 353 - }; 354 - nightLight = { 355 - autoSchedule = true; 356 - dayTemp = "6500"; 357 - enabled = false; 358 - forced = false; 359 - manualSunrise = "06:30"; 360 - manualSunset = "18:30"; 361 - nightTemp = "4000"; 362 - }; 363 - notifications = { 364 - backgroundOpacity = 1; 365 - criticalUrgencyDuration = 15; 366 - enableKeyboardLayoutToast = true; 367 - enableMediaToast = false; 368 - enabled = true; 369 - location = "top_right"; 370 - lowUrgencyDuration = 3; 371 - monitors = [ ]; 372 - normalUrgencyDuration = 8; 373 - overlayLayer = true; 374 - respectExpireTimeout = false; 375 - saveToHistory = { 376 - critical = true; 377 - low = true; 378 - normal = true; 379 - }; 380 - sounds = { 381 - criticalSoundFile = ""; 382 - enabled = false; 383 - excludedApps = "discord,firefox,chrome,chromium,edge"; 384 - lowSoundFile = ""; 385 - normalSoundFile = ""; 386 - separateSounds = false; 387 - volume = 0.5; 388 - }; 389 - }; 390 - osd = { 391 - autoHideMs = 2000; 392 - backgroundOpacity = 1; 393 - enabled = true; 394 - enabledTypes = [ 395 - 0 396 - 1 397 - 2 398 - ]; 399 - location = "top_right"; 400 - monitors = [ ]; 401 - overlayLayer = true; 402 - }; 403 - sessionMenu = { 404 - countdownDuration = 10000; 405 - enableCountdown = true; 406 - largeButtonsLayout = "grid"; 407 - largeButtonsStyle = false; 408 - position = "center"; 409 - powerOptions = [ 176 + right = [ 410 177 { 411 - action = "lock"; 412 - enabled = true; 178 + blacklist = [ ]; 179 + colorizeIcons = false; 180 + drawerEnabled = true; 181 + hidePassive = false; 182 + id = "Tray"; 183 + pinned = [ ]; 413 184 } 414 185 { 415 - action = "suspend"; 416 - enabled = true; 186 + hideWhenZero = false; 187 + hideWhenZeroUnread = false; 188 + id = "NotificationHistory"; 189 + showUnreadBadge = true; 417 190 } 418 191 { 419 - action = "hibernate"; 420 - enabled = true; 192 + deviceNativePath = ""; 193 + displayMode = "onhover"; 194 + hideIfIdle = false; 195 + hideIfNotDetected = true; 196 + id = "Battery"; 197 + showNoctaliaPerformance = false; 198 + showPowerProfiles = false; 199 + warningThreshold = 30; 421 200 } 422 201 { 423 - action = "reboot"; 424 - enabled = true; 202 + displayMode = "onhover"; 203 + id = "Volume"; 204 + middleClickCommand = "pwvucontrol || pavucontrol"; 425 205 } 426 206 { 427 - action = "logout"; 428 - enabled = true; 207 + displayMode = "onhover"; 208 + id = "Brightness"; 429 209 } 430 210 { 431 - action = "shutdown"; 432 - enabled = true; 211 + colorizeDistroLogo = false; 212 + colorizeSystemIcon = "none"; 213 + customIconPath = ""; 214 + enableColorization = false; 215 + icon = "noctalia"; 216 + id = "ControlCenter"; 217 + useDistroLogo = false; 433 218 } 434 219 ]; 435 - showHeader = true; 436 - showNumberLabels = true; 437 220 }; 438 - systemMonitor = { 439 - cpuCriticalThreshold = 90; 440 - cpuPollingInterval = 3000; 441 - cpuWarningThreshold = 80; 442 - criticalColor = ""; 443 - diskCriticalThreshold = 90; 444 - diskPollingInterval = 30000; 445 - diskWarningThreshold = 80; 446 - enableDgpuMonitoring = false; 447 - externalMonitor = "resources || missioncenter || jdsystemmonitor || corestats || system-monitoring-center || gnome-system-monitor || plasma-systemmonitor || mate-system-monitor || ukui-system-monitor || deepin-system-monitor || pantheon-system-monitor"; 448 - gpuCriticalThreshold = 90; 449 - gpuPollingInterval = 3000; 450 - gpuWarningThreshold = 80; 451 - loadAvgPollingInterval = 3000; 452 - memCriticalThreshold = 90; 453 - memPollingInterval = 3000; 454 - memWarningThreshold = 80; 455 - networkPollingInterval = 3000; 456 - swapCriticalThreshold = 90; 457 - swapWarningThreshold = 80; 458 - tempCriticalThreshold = 90; 459 - tempPollingInterval = 3000; 460 - tempWarningThreshold = 80; 461 - useCustomColors = false; 462 - warningColor = ""; 221 + }; 222 + brightness = { 223 + brightnessStep = 5; 224 + enableDdcSupport = false; 225 + enforceMinimum = true; 226 + }; 227 + calendar = { 228 + cards = [ 229 + { 230 + enabled = true; 231 + id = "calendar-header-card"; 232 + } 233 + { 234 + enabled = true; 235 + id = "calendar-month-card"; 236 + } 237 + { 238 + enabled = true; 239 + id = "weather-card"; 240 + } 241 + ]; 242 + }; 243 + colorSchemes = { 244 + darkMode = true; 245 + generationMethod = "tonal-spot"; 246 + manualSunrise = "06:30"; 247 + manualSunset = "18:30"; 248 + monitorForColors = ""; 249 + predefinedScheme = "Catppuccin"; 250 + schedulingMode = "off"; 251 + useWallpaperColors = false; 252 + }; 253 + controlCenter = { 254 + cards = [ 255 + { 256 + enabled = true; 257 + id = "profile-card"; 258 + } 259 + { 260 + enabled = true; 261 + id = "shortcuts-card"; 262 + } 263 + { 264 + enabled = true; 265 + id = "audio-card"; 266 + } 267 + { 268 + enabled = false; 269 + id = "brightness-card"; 270 + } 271 + { 272 + enabled = true; 273 + id = "weather-card"; 274 + } 275 + { 276 + enabled = true; 277 + id = "media-sysmon-card"; 278 + } 279 + ]; 280 + diskPath = "/"; 281 + position = "close_to_bar_button"; 282 + shortcuts = { 283 + left = [ 284 + { id = "Network"; } 285 + { id = "Bluetooth"; } 286 + { id = "WallpaperSelector"; } 287 + { id = "NoctaliaPerformance"; } 288 + ]; 289 + right = [ 290 + { id = "Notifications"; } 291 + { id = "PowerProfile"; } 292 + { id = "KeepAwake"; } 293 + { id = "NightLight"; } 294 + ]; 463 295 }; 464 - templates = { 465 - activeTemplates = [ ]; 466 - enableUserTheming = false; 296 + }; 297 + desktopWidgets = { 298 + enabled = false; 299 + gridSnap = false; 300 + monitorWidgets = [ ]; 301 + }; 302 + dock = { 303 + animationSpeed = 1; 304 + backgroundOpacity = 1; 305 + colorizeIcons = false; 306 + deadOpacity = 0.6; 307 + displayMode = "auto_hide"; 308 + enabled = true; 309 + floatingRatio = 1; 310 + inactiveIndicators = false; 311 + monitors = [ "eDP-1" ]; 312 + onlySameOutput = true; 313 + pinnedApps = [ ]; 314 + pinnedStatic = false; 315 + position = "bottom"; 316 + size = 1; 317 + }; 318 + general = { 319 + allowPanelsOnScreenWithoutBar = true; 320 + animationDisabled = false; 321 + animationSpeed = 1; 322 + autoStartAuth = false; 323 + avatarImage = "/run/.face"; 324 + boxRadiusRatio = 1; 325 + compactLockScreen = false; 326 + dimmerOpacity = 0.2; 327 + enableLockScreenCountdown = true; 328 + enableShadows = true; 329 + forceBlackScreenCorners = false; 330 + iRadiusRatio = 1; 331 + language = ""; 332 + lockOnSuspend = true; 333 + lockScreenCountdownDuration = 10000; 334 + radiusRatio = 1; 335 + scaleRatio = 1; 336 + screenRadiusRatio = 0; 337 + shadowDirection = "bottom_right"; 338 + shadowOffsetX = 2; 339 + shadowOffsetY = 3; 340 + showChangelogOnStartup = true; 341 + showHibernateOnLockScreen = false; 342 + showScreenCorners = false; 343 + showSessionButtonsOnLockScreen = true; 344 + telemetryEnabled = false; 345 + }; 346 + hooks = { 347 + darkModeChange = ""; 348 + enabled = false; 349 + performanceModeDisabled = ""; 350 + performanceModeEnabled = ""; 351 + screenLock = ""; 352 + screenUnlock = ""; 353 + session = ""; 354 + startup = ""; 355 + wallpaperChange = ""; 356 + }; 357 + location = { 358 + analogClockInCalendar = false; 359 + firstDayOfWeek = -1; 360 + hideWeatherCityName = false; 361 + hideWeatherTimezone = false; 362 + name = "Paris"; 363 + showCalendarEvents = true; 364 + showCalendarWeather = true; 365 + showWeekNumberInCalendar = false; 366 + use12hourFormat = false; 367 + useFahrenheit = false; 368 + weatherEnabled = true; 369 + weatherShowEffects = true; 370 + }; 371 + network = { 372 + bluetoothDetailsViewMode = "grid"; 373 + bluetoothHideUnnamedDevices = false; 374 + bluetoothRssiPollIntervalMs = 10000; 375 + bluetoothRssiPollingEnabled = false; 376 + wifiDetailsViewMode = "grid"; 377 + wifiEnabled = true; 378 + }; 379 + nightLight = { 380 + autoSchedule = true; 381 + dayTemp = "6500"; 382 + enabled = false; 383 + forced = false; 384 + manualSunrise = "06:30"; 385 + manualSunset = "18:30"; 386 + nightTemp = "4000"; 387 + }; 388 + notifications = { 389 + backgroundOpacity = 1; 390 + criticalUrgencyDuration = 15; 391 + enableKeyboardLayoutToast = true; 392 + enableMediaToast = false; 393 + enabled = true; 394 + location = "top_right"; 395 + lowUrgencyDuration = 3; 396 + monitors = [ ]; 397 + normalUrgencyDuration = 8; 398 + overlayLayer = true; 399 + respectExpireTimeout = false; 400 + saveToHistory = { 401 + critical = true; 402 + low = true; 403 + normal = true; 467 404 }; 468 - ui = { 469 - bluetoothDetailsViewMode = "grid"; 470 - bluetoothHideUnnamedDevices = false; 471 - boxBorderEnabled = false; 472 - fontDefault = "Lexend"; 473 - fontDefaultScale = 1; 474 - fontFixed = "MonoLisa"; 475 - fontFixedScale = 1; 476 - networkPanelView = "wifi"; 477 - panelBackgroundOpacity = 0.93; 478 - panelsAttachedToBar = true; 479 - settingsPanelMode = "attached"; 480 - tooltipsEnabled = true; 481 - wifiDetailsViewMode = "grid"; 405 + sounds = { 406 + criticalSoundFile = ""; 407 + enabled = false; 408 + excludedApps = "discord,firefox,chrome,chromium,edge"; 409 + lowSoundFile = ""; 410 + normalSoundFile = ""; 411 + separateSounds = false; 412 + volume = 0.5; 482 413 }; 483 - wallpaper = { 484 - automationEnabled = false; 485 - directory = "/home/kar/Pictures/Wallpapers"; 486 - enableMultiMonitorDirectories = false; 487 - enabled = true; 488 - fillColor = "#000000"; 489 - fillMode = "crop"; 490 - hideWallpaperFilenames = false; 491 - monitorDirectories = [ ]; 492 - overviewEnabled = false; 493 - panelPosition = "follow_bar"; 494 - randomIntervalSec = 300; 495 - setWallpaperOnAllMonitors = true; 496 - showHiddenFiles = false; 497 - solidColor = "#1a1a2e"; 498 - transitionDuration = 1500; 499 - transitionEdgeSmoothness = 0.05; 500 - transitionType = "random"; 501 - useSolidColor = false; 502 - useWallhaven = true; 503 - viewMode = "single"; 504 - wallhavenApiKey = ""; 505 - wallhavenCategories = "111"; 506 - wallhavenOrder = "desc"; 507 - wallhavenPurity = "100"; 508 - wallhavenQuery = "catppuccin"; 509 - wallhavenRatios = ""; 510 - wallhavenResolutionHeight = ""; 511 - wallhavenResolutionMode = "atleast"; 512 - wallhavenResolutionWidth = ""; 513 - wallhavenSorting = "relevance"; 514 - wallpaperChangeMode = "random"; 515 - }; 414 + }; 415 + osd = { 416 + autoHideMs = 2000; 417 + backgroundOpacity = 1; 418 + enabled = true; 419 + enabledTypes = [ 420 + 0 421 + 1 422 + 2 423 + ]; 424 + location = "top_right"; 425 + monitors = [ ]; 426 + overlayLayer = true; 427 + }; 428 + sessionMenu = { 429 + countdownDuration = 10000; 430 + enableCountdown = true; 431 + largeButtonsLayout = "grid"; 432 + largeButtonsStyle = false; 433 + position = "center"; 434 + powerOptions = [ 435 + { 436 + action = "lock"; 437 + enabled = true; 438 + } 439 + { 440 + action = "suspend"; 441 + enabled = true; 442 + } 443 + { 444 + action = "hibernate"; 445 + enabled = true; 446 + } 447 + { 448 + action = "reboot"; 449 + enabled = true; 450 + } 451 + { 452 + action = "logout"; 453 + enabled = true; 454 + } 455 + { 456 + action = "shutdown"; 457 + enabled = true; 458 + } 459 + ]; 460 + showHeader = true; 461 + showNumberLabels = true; 462 + }; 463 + systemMonitor = { 464 + cpuCriticalThreshold = 90; 465 + cpuPollingInterval = 3000; 466 + cpuWarningThreshold = 80; 467 + criticalColor = ""; 468 + diskCriticalThreshold = 90; 469 + diskPollingInterval = 30000; 470 + diskWarningThreshold = 80; 471 + enableDgpuMonitoring = false; 472 + externalMonitor = "resources || missioncenter || jdsystemmonitor || corestats || system-monitoring-center || gnome-system-monitor || plasma-systemmonitor || mate-system-monitor || ukui-system-monitor || deepin-system-monitor || pantheon-system-monitor"; 473 + gpuCriticalThreshold = 90; 474 + gpuPollingInterval = 3000; 475 + gpuWarningThreshold = 80; 476 + loadAvgPollingInterval = 3000; 477 + memCriticalThreshold = 90; 478 + memPollingInterval = 3000; 479 + memWarningThreshold = 80; 480 + networkPollingInterval = 3000; 481 + swapCriticalThreshold = 90; 482 + swapWarningThreshold = 80; 483 + tempCriticalThreshold = 90; 484 + tempPollingInterval = 3000; 485 + tempWarningThreshold = 80; 486 + useCustomColors = false; 487 + warningColor = ""; 488 + }; 489 + templates = { 490 + activeTemplates = [ ]; 491 + enableUserTheming = false; 492 + }; 493 + ui = { 494 + bluetoothDetailsViewMode = "grid"; 495 + bluetoothHideUnnamedDevices = false; 496 + boxBorderEnabled = false; 497 + fontDefault = "Lexend"; 498 + fontDefaultScale = 1; 499 + fontFixed = "MonoLisa"; 500 + fontFixedScale = 1; 501 + networkPanelView = "wifi"; 502 + panelBackgroundOpacity = 0.93; 503 + panelsAttachedToBar = true; 504 + settingsPanelMode = "attached"; 505 + tooltipsEnabled = true; 506 + wifiDetailsViewMode = "grid"; 507 + }; 508 + wallpaper = { 509 + automationEnabled = false; 510 + directory = "/home/kar/Pictures/Wallpapers"; 511 + enableMultiMonitorDirectories = false; 512 + enabled = true; 513 + fillColor = "#000000"; 514 + fillMode = "crop"; 515 + hideWallpaperFilenames = false; 516 + monitorDirectories = [ ]; 517 + overviewEnabled = false; 518 + panelPosition = "follow_bar"; 519 + randomIntervalSec = 300; 520 + setWallpaperOnAllMonitors = true; 521 + showHiddenFiles = false; 522 + solidColor = "#1a1a2e"; 523 + transitionDuration = 1500; 524 + transitionEdgeSmoothness = 0.05; 525 + transitionType = "random"; 526 + useSolidColor = false; 527 + useWallhaven = true; 528 + viewMode = "single"; 529 + wallhavenApiKey = ""; 530 + wallhavenCategories = "111"; 531 + wallhavenOrder = "desc"; 532 + wallhavenPurity = "100"; 533 + wallhavenQuery = "catppuccin"; 534 + wallhavenRatios = ""; 535 + wallhavenResolutionHeight = ""; 536 + wallhavenResolutionMode = "atleast"; 537 + wallhavenResolutionWidth = ""; 538 + wallhavenSorting = "relevance"; 539 + wallpaperChangeMode = "random"; 516 540 }; 517 541 }; 518 - }; 519 - 520 - programs.niri.settings.binds = { 521 - "Mod+R".action.spawn = [ 522 - "noctalia-shell" 523 - "ipc" 524 - "call" 525 - "launcher" 526 - "toggle" 527 - ]; 528 - "Mod+Shift+N".action.spawn = [ 529 - "noctalia-shell" 530 - "ipc" 531 - "call" 532 - "controlCenter" 533 - "toggle" 534 - ]; 535 - "Mod+Shift+O".action.spawn = [ 536 - "noctalia-shell" 537 - "ipc" 538 - "call" 539 - "sessionMenu" 540 - "toggle" 541 - ]; 542 542 }; 543 543 }; 544 544 }