chore: noctalia - upgrade & settings adjustment

This commit is contained in:
Ryan Yin
2026-01-04 16:18:38 +08:00
parent ab8cacb04e
commit 6c228998e7
2 changed files with 55 additions and 22 deletions

View File

@@ -2,22 +2,24 @@
lib, lib,
config, config,
pkgs, pkgs,
pkgs-patched,
wallpapers, wallpapers,
... ...
}: }:
let
package = pkgs-patched.noctalia-shell;
in
{ {
home.packages = home.packages = [
with pkgs; package
[ pkgs.qt6Packages.qt6ct # for icon theme
noctalia-shell pkgs.app2unit # Launch Desktop Entries (or arbitrary commands) as Systemd user units
qt6Packages.qt6ct # for icon theme ]
app2unit # Launch Desktop Entries (or arbitrary commands) as Systemd user units ++ (lib.optionals pkgs.stdenv.isx86_64 [
] pkgs.gpu-screen-recorder # recoding screen
++ (lib.optionals pkgs.stdenv.isx86_64 [ ]);
gpu-screen-recorder # recoding screen
]);
home.file."Pictures/Wallpapers".source = wallpapers; home.file."Pictures/Wallpapers".source = wallpapers;
@@ -39,7 +41,7 @@
}; };
Service = { Service = {
ExecStart = lib.getExe pkgs.noctalia-shell; ExecStart = lib.getExe package;
Restart = "on-failure"; Restart = "on-failure";
Environment = [ Environment = [

View File

@@ -3,11 +3,14 @@
"customLaunchPrefix": "", "customLaunchPrefix": "",
"customLaunchPrefixEnabled": false, "customLaunchPrefixEnabled": false,
"enableClipPreview": true, "enableClipPreview": true,
"enableClipboardHistory": false, "enableClipboardHistory": true,
"iconMode": "native", "iconMode": "native",
"ignoreMouseInput": false,
"pinnedExecs": [], "pinnedExecs": [],
"position": "center", "position": "center",
"screenshotAnnotationTool": "",
"showCategories": true, "showCategories": true,
"showIconBackground": true,
"sortByMostUsed": true, "sortByMostUsed": true,
"terminalCommand": "xterm -e", "terminalCommand": "xterm -e",
"useApp2Unit": true, "useApp2Unit": true,
@@ -23,6 +26,7 @@
"volumeStep": 1 "volumeStep": 1
}, },
"bar": { "bar": {
"backgroundOpacity": 0.2,
"capsuleOpacity": 1, "capsuleOpacity": 1,
"density": "comfortable", "density": "comfortable",
"exclusive": true, "exclusive": true,
@@ -34,7 +38,7 @@
"position": "top", "position": "top",
"showCapsule": true, "showCapsule": true,
"showOutline": false, "showOutline": false,
"transparent": true, "useSeparateOpacity": true,
"widgets": { "widgets": {
"center": [ "center": [
{ {
@@ -42,15 +46,20 @@
"colorizeIcons": false, "colorizeIcons": false,
"enableScrollWheel": true, "enableScrollWheel": true,
"followFocusedScreen": false, "followFocusedScreen": false,
"groupedBorderOpacity": 1,
"hideUnoccupied": false, "hideUnoccupied": false,
"iconScale": 0.8,
"id": "Workspace", "id": "Workspace",
"labelMode": "index", "labelMode": "index",
"showApplications": false, "showApplications": false,
"showLabelsOnlyWhenOccupied": true "showLabelsOnlyWhenOccupied": true,
"unfocusedIconsOpacity": 1
} }
], ],
"left": [ "left": [
{ {
"colorizeSystemIcon": "none",
"enableColorization": false,
"hideMode": "alwaysExpanded", "hideMode": "alwaysExpanded",
"icon": "rocket", "icon": "rocket",
"id": "CustomButton", "id": "CustomButton",
@@ -83,19 +92,23 @@
"formatHorizontal": "HH:mm ddd, MMM dd", "formatHorizontal": "HH:mm ddd, MMM dd",
"formatVertical": "HH mm - dd MM", "formatVertical": "HH mm - dd MM",
"id": "Clock", "id": "Clock",
"tooltipFormat": "HH:mm ddd, MMM dd",
"useCustomFont": false, "useCustomFont": false,
"usePrimaryColor": false "usePrimaryColor": false
}, },
{ {
"compactMode": true,
"diskPath": "/persistent", "diskPath": "/persistent",
"id": "SystemMonitor", "id": "SystemMonitor",
"showCpuTemp": false, "showCpuTemp": false,
"showCpuUsage": true, "showCpuUsage": true,
"showDiskUsage": true, "showDiskUsage": true,
"showGpuTemp": false, "showGpuTemp": false,
"showLoadAverage": false,
"showMemoryAsPercent": true, "showMemoryAsPercent": true,
"showMemoryUsage": true, "showMemoryUsage": true,
"showNetworkStats": true, "showNetworkStats": true,
"useMonospaceFont": true,
"usePrimaryColor": false "usePrimaryColor": false
}, },
{ {
@@ -229,6 +242,7 @@
"id": "media-sysmon-card" "id": "media-sysmon-card"
} }
], ],
"diskPath": "/persistent",
"position": "close_to_bar_button", "position": "close_to_bar_button",
"shortcuts": { "shortcuts": {
"left": [ "left": [
@@ -326,6 +340,11 @@
"weatherShowEffects": true "weatherShowEffects": true
}, },
"network": { "network": {
"bluetoothDetailsViewMode": "grid",
"bluetoothHideUnnamedDevices": false,
"bluetoothRssiPollIntervalMs": 10000,
"bluetoothRssiPollingEnabled": false,
"wifiDetailsViewMode": "grid",
"wifiEnabled": true "wifiEnabled": true
}, },
"nightLight": { "nightLight": {
@@ -348,6 +367,11 @@
"normalUrgencyDuration": 8, "normalUrgencyDuration": 8,
"overlayLayer": true, "overlayLayer": true,
"respectExpireTimeout": false, "respectExpireTimeout": false,
"saveToHistory": {
"critical": true,
"low": true,
"normal": true
},
"sounds": { "sounds": {
"criticalSoundFile": "", "criticalSoundFile": "",
"enabled": true, "enabled": true,
@@ -362,7 +386,7 @@
"autoHideMs": 2000, "autoHideMs": 2000,
"backgroundOpacity": 1, "backgroundOpacity": 1,
"enabled": true, "enabled": true,
"enabledTypes": [0, 1, 2, 4], "enabledTypes": [0, 1, 2, 4, 3],
"location": "top_right", "location": "top_right",
"monitors": [], "monitors": [],
"overlayLayer": true "overlayLayer": true
@@ -371,6 +395,7 @@
"audioCodec": "opus", "audioCodec": "opus",
"audioSource": "default_output", "audioSource": "default_output",
"colorRange": "limited", "colorRange": "limited",
"copyToClipboard": false,
"directory": "~/Videos", "directory": "~/Videos",
"frameRate": 30, "frameRate": 30,
"quality": "high", "quality": "high",
@@ -381,6 +406,7 @@
"sessionMenu": { "sessionMenu": {
"countdownDuration": 10000, "countdownDuration": 10000,
"enableCountdown": true, "enableCountdown": true,
"largeButtonsLayout": "grid",
"largeButtonsStyle": true, "largeButtonsStyle": true,
"position": "center", "position": "center",
"powerOptions": [ "powerOptions": [
@@ -421,9 +447,10 @@
"enabled": true "enabled": true
} }
], ],
"showHeader": true "showHeader": true,
"showNumberLabels": true
}, },
"settingsVersion": 32, "settingsVersion": 37,
"systemMonitor": { "systemMonitor": {
"cpuCriticalThreshold": 95, "cpuCriticalThreshold": 95,
"cpuPollingInterval": 10000, "cpuPollingInterval": 10000,
@@ -433,9 +460,11 @@
"diskPollingInterval": 250, "diskPollingInterval": 250,
"diskWarningThreshold": 80, "diskWarningThreshold": 80,
"enableDgpuMonitoring": false, "enableDgpuMonitoring": false,
"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",
"gpuCriticalThreshold": 90, "gpuCriticalThreshold": 90,
"gpuPollingInterval": 3000, "gpuPollingInterval": 3000,
"gpuWarningThreshold": 80, "gpuWarningThreshold": 80,
"loadAvgPollingInterval": 3000,
"memCriticalThreshold": 90, "memCriticalThreshold": 90,
"memPollingInterval": 250, "memPollingInterval": 250,
"memWarningThreshold": 80, "memWarningThreshold": 80,
@@ -474,8 +503,7 @@
"zed": false "zed": false
}, },
"ui": { "ui": {
"bluetoothDetailsViewMode": "grid", "boxBorderEnabled": false,
"bluetoothHideUnnamedDevices": false,
"fontDefault": "Maple Mono NF CN", "fontDefault": "Maple Mono NF CN",
"fontDefaultScale": 1, "fontDefaultScale": 1,
"fontFixed": "Maple Mono NF CN", "fontFixed": "Maple Mono NF CN",
@@ -483,8 +511,7 @@
"panelBackgroundOpacity": 0.85, "panelBackgroundOpacity": 0.85,
"panelsAttachedToBar": true, "panelsAttachedToBar": true,
"settingsPanelMode": "attached", "settingsPanelMode": "attached",
"tooltipsEnabled": true, "tooltipsEnabled": true
"wifiDetailsViewMode": "grid"
}, },
"wallpaper": { "wallpaper": {
"directory": "~/Pictures/Wallpapers", "directory": "~/Pictures/Wallpapers",
@@ -500,10 +527,13 @@
"randomIntervalSec": 600, "randomIntervalSec": 600,
"recursiveSearch": false, "recursiveSearch": false,
"setWallpaperOnAllMonitors": true, "setWallpaperOnAllMonitors": true,
"solidColor": "#1a1a2e",
"transitionDuration": 1500, "transitionDuration": 1500,
"transitionEdgeSmoothness": 0.05, "transitionEdgeSmoothness": 0.05,
"transitionType": "random", "transitionType": "random",
"useSolidColor": false,
"useWallhaven": false, "useWallhaven": false,
"wallhavenApiKey": "",
"wallhavenCategories": "111", "wallhavenCategories": "111",
"wallhavenOrder": "desc", "wallhavenOrder": "desc",
"wallhavenPurity": "100", "wallhavenPurity": "100",
@@ -512,6 +542,7 @@
"wallhavenResolutionHeight": "", "wallhavenResolutionHeight": "",
"wallhavenResolutionMode": "atleast", "wallhavenResolutionMode": "atleast",
"wallhavenResolutionWidth": "", "wallhavenResolutionWidth": "",
"wallhavenSorting": "relevance" "wallhavenSorting": "relevance",
"wallpaperChangeMode": "random"
} }
} }