503 lines
13 KiB
Nix
503 lines
13 KiB
Nix
{ pkgs, inputs, ... }:
|
|
{
|
|
imports = [
|
|
inputs.noctalia.homeModules.default
|
|
];
|
|
|
|
programs.noctalia-shell = {
|
|
enable = true;
|
|
settings = {
|
|
settingsVersion = 0;
|
|
bar = {
|
|
barType = "floating";
|
|
position = "left";
|
|
monitors = [ ];
|
|
density = "default";
|
|
showOutline = false;
|
|
showCapsule = true;
|
|
capsuleOpacity = 1;
|
|
capsuleColorKey = "none";
|
|
backgroundOpacity = 0.93;
|
|
useSeparateOpacity = false;
|
|
floating = true;
|
|
marginVertical = 4;
|
|
marginHorizontal = 4;
|
|
frameThickness = 8;
|
|
frameRadius = 12;
|
|
outerCorners = true;
|
|
hideOnOverview = false;
|
|
displayMode = "always_visible";
|
|
autoHideDelay = 500;
|
|
autoShowDelay = 150;
|
|
widgets = {
|
|
left = [
|
|
{
|
|
id = "Launcher";
|
|
}
|
|
{
|
|
id = "Clock";
|
|
}
|
|
{
|
|
id = "SystemMonitor";
|
|
}
|
|
{
|
|
id = "ActiveWindow";
|
|
}
|
|
{
|
|
id = "MediaMini";
|
|
}
|
|
];
|
|
center = [
|
|
{
|
|
id = "Workspace";
|
|
}
|
|
];
|
|
right = [
|
|
{
|
|
id = "Tray";
|
|
}
|
|
{
|
|
id = "NotificationHistory";
|
|
}
|
|
{
|
|
id = "Battery";
|
|
}
|
|
{
|
|
id = "Volume";
|
|
}
|
|
{
|
|
id = "Brightness";
|
|
}
|
|
{
|
|
id = "ControlCenter";
|
|
}
|
|
];
|
|
};
|
|
screenOverrides = [ ];
|
|
};
|
|
general = {
|
|
avatarImage = "";
|
|
dimmerOpacity = 0;
|
|
showScreenCorners = false;
|
|
forceBlackScreenCorners = false;
|
|
scaleRatio = 1;
|
|
radiusRatio = 0;
|
|
iRadiusRatio = 0;
|
|
boxRadiusRatio = 1;
|
|
screenRadiusRatio = 1;
|
|
animationSpeed = 1;
|
|
animationDisabled = false;
|
|
compactLockScreen = true;
|
|
lockScreenAnimations = false;
|
|
lockOnSuspend = true;
|
|
showSessionButtonsOnLockScreen = true;
|
|
showHibernateOnLockScreen = false;
|
|
enableShadows = false;
|
|
shadowDirection = "bottom_right";
|
|
shadowOffsetX = 2;
|
|
shadowOffsetY = 3;
|
|
language = "";
|
|
allowPanelsOnScreenWithoutBar = true;
|
|
showChangelogOnStartup = true;
|
|
telemetryEnabled = false;
|
|
enableLockScreenCountdown = true;
|
|
lockScreenCountdownDuration = 10000;
|
|
autoStartAuth = false;
|
|
allowPasswordWithFprintd = false;
|
|
clockStyle = "custom";
|
|
clockFormat = "hh\nmm";
|
|
lockScreenMonitors = [ ];
|
|
lockScreenBlur = 0;
|
|
lockScreenTint = 0;
|
|
keybinds = {
|
|
keyUp = [
|
|
"Up"
|
|
];
|
|
keyDown = [
|
|
"Down"
|
|
];
|
|
keyLeft = [
|
|
"Left"
|
|
];
|
|
keyRight = [
|
|
"Right"
|
|
];
|
|
keyEnter = [
|
|
"Return"
|
|
];
|
|
keyEscape = [
|
|
"Esc"
|
|
];
|
|
keyRemove = [
|
|
"Del"
|
|
];
|
|
};
|
|
reverseScroll = false;
|
|
};
|
|
ui = {
|
|
fontDefault = "";
|
|
fontFixed = "";
|
|
fontDefaultScale = 1;
|
|
fontFixedScale = 1;
|
|
tooltipsEnabled = true;
|
|
panelBackgroundOpacity = 0.93;
|
|
panelsAttachedToBar = true;
|
|
settingsPanelMode = "attached";
|
|
wifiDetailsViewMode = "grid";
|
|
bluetoothDetailsViewMode = "grid";
|
|
networkPanelView = "wifi";
|
|
bluetoothHideUnnamedDevices = false;
|
|
boxBorderEnabled = false;
|
|
};
|
|
location = {
|
|
name = "Toronto, ON";
|
|
weatherEnabled = true;
|
|
weatherShowEffects = true;
|
|
useFahrenheit = false;
|
|
use12hourFormat = false;
|
|
showWeekNumberInCalendar = false;
|
|
showCalendarEvents = true;
|
|
showCalendarWeather = true;
|
|
analogClockInCalendar = false;
|
|
firstDayOfWeek = -1;
|
|
hideWeatherTimezone = false;
|
|
hideWeatherCityName = false;
|
|
};
|
|
calendar = {
|
|
cards = [
|
|
{
|
|
enabled = true;
|
|
id = "calendar-header-card";
|
|
}
|
|
{
|
|
enabled = true;
|
|
id = "calendar-month-card";
|
|
}
|
|
{
|
|
enabled = true;
|
|
id = "weather-card";
|
|
}
|
|
];
|
|
};
|
|
wallpaper = {
|
|
enabled = true;
|
|
overviewEnabled = false;
|
|
directory = "";
|
|
monitorDirectories = [ ];
|
|
enableMultiMonitorDirectories = false;
|
|
showHiddenFiles = false;
|
|
viewMode = "single";
|
|
setWallpaperOnAllMonitors = true;
|
|
fillMode = "crop";
|
|
fillColor = "#000000";
|
|
useSolidColor = false;
|
|
solidColor = "#1a1a2e";
|
|
automationEnabled = false;
|
|
wallpaperChangeMode = "random";
|
|
randomIntervalSec = 300;
|
|
transitionDuration = 1500;
|
|
transitionType = "random";
|
|
skipStartupTransition = false;
|
|
transitionEdgeSmoothness = 0.05;
|
|
panelPosition = "follow_bar";
|
|
hideWallpaperFilenames = false;
|
|
overviewBlur = 0.4;
|
|
overviewTint = 0.6;
|
|
useWallhaven = false;
|
|
wallhavenQuery = "";
|
|
wallhavenSorting = "relevance";
|
|
wallhavenOrder = "desc";
|
|
wallhavenCategories = "111";
|
|
wallhavenPurity = "100";
|
|
wallhavenRatios = "";
|
|
wallhavenApiKey = "";
|
|
wallhavenResolutionMode = "atleast";
|
|
wallhavenResolutionWidth = "";
|
|
wallhavenResolutionHeight = "";
|
|
sortOrder = "name";
|
|
favorites = [ ];
|
|
};
|
|
appLauncher = {
|
|
enableClipboardHistory = false;
|
|
autoPasteClipboard = false;
|
|
enableClipPreview = true;
|
|
clipboardWrapText = true;
|
|
clipboardWatchTextCommand = "wl-paste --type text --watch cliphist store";
|
|
clipboardWatchImageCommand = "wl-paste --type image --watch cliphist store";
|
|
position = "center";
|
|
pinnedApps = [ ];
|
|
useApp2Unit = false;
|
|
sortByMostUsed = true;
|
|
terminalCommand = "alacritty -e";
|
|
customLaunchPrefixEnabled = false;
|
|
customLaunchPrefix = "";
|
|
viewMode = "list";
|
|
showCategories = true;
|
|
iconMode = "tabler";
|
|
showIconBackground = false;
|
|
enableSettingsSearch = true;
|
|
enableWindowsSearch = true;
|
|
enableSessionSearch = true;
|
|
ignoreMouseInput = false;
|
|
screenshotAnnotationTool = "";
|
|
overviewLayer = false;
|
|
density = "default";
|
|
};
|
|
controlCenter = {
|
|
position = "close_to_bar_button";
|
|
diskPath = "/";
|
|
shortcuts = {
|
|
left = [
|
|
{
|
|
id = "Network";
|
|
}
|
|
{
|
|
id = "Bluetooth";
|
|
}
|
|
{
|
|
id = "WallpaperSelector";
|
|
}
|
|
{
|
|
id = "NoctaliaPerformance";
|
|
}
|
|
];
|
|
right = [
|
|
{
|
|
id = "Notifications";
|
|
}
|
|
{
|
|
id = "PowerProfile";
|
|
}
|
|
{
|
|
id = "KeepAwake";
|
|
}
|
|
{
|
|
id = "NightLight";
|
|
}
|
|
];
|
|
};
|
|
cards = [
|
|
{
|
|
enabled = true;
|
|
id = "profile-card";
|
|
}
|
|
{
|
|
enabled = true;
|
|
id = "shortcuts-card";
|
|
}
|
|
{
|
|
enabled = true;
|
|
id = "audio-card";
|
|
}
|
|
{
|
|
enabled = false;
|
|
id = "brightness-card";
|
|
}
|
|
{
|
|
enabled = true;
|
|
id = "weather-card";
|
|
}
|
|
{
|
|
enabled = true;
|
|
id = "media-sysmon-card";
|
|
}
|
|
];
|
|
};
|
|
systemMonitor = {
|
|
cpuWarningThreshold = 80;
|
|
cpuCriticalThreshold = 90;
|
|
tempWarningThreshold = 80;
|
|
tempCriticalThreshold = 90;
|
|
gpuWarningThreshold = 80;
|
|
gpuCriticalThreshold = 90;
|
|
memWarningThreshold = 80;
|
|
memCriticalThreshold = 90;
|
|
swapWarningThreshold = 80;
|
|
swapCriticalThreshold = 90;
|
|
diskWarningThreshold = 80;
|
|
diskCriticalThreshold = 90;
|
|
diskAvailWarningThreshold = 20;
|
|
diskAvailCriticalThreshold = 10;
|
|
batteryWarningThreshold = 20;
|
|
batteryCriticalThreshold = 5;
|
|
enableDgpuMonitoring = false;
|
|
useCustomColors = false;
|
|
warningColor = "";
|
|
criticalColor = "";
|
|
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";
|
|
};
|
|
dock = {
|
|
enabled = true;
|
|
position = "bottom";
|
|
displayMode = "auto_hide";
|
|
dockType = "floating";
|
|
backgroundOpacity = 1;
|
|
floatingRatio = 1;
|
|
size = 1;
|
|
onlySameOutput = true;
|
|
monitors = [ ];
|
|
pinnedApps = [ ];
|
|
colorizeIcons = false;
|
|
pinnedStatic = false;
|
|
inactiveIndicators = false;
|
|
deadOpacity = 0.6;
|
|
animationSpeed = 1;
|
|
sitOnFrame = false;
|
|
showFrameIndicator = true;
|
|
};
|
|
network = {
|
|
wifiEnabled = true;
|
|
airplaneModeEnabled = false;
|
|
bluetoothRssiPollingEnabled = false;
|
|
bluetoothRssiPollIntervalMs = 60000;
|
|
wifiDetailsViewMode = "grid";
|
|
bluetoothDetailsViewMode = "grid";
|
|
bluetoothHideUnnamedDevices = false;
|
|
disableDiscoverability = false;
|
|
};
|
|
sessionMenu = {
|
|
enableCountdown = true;
|
|
countdownDuration = 10000;
|
|
position = "center";
|
|
showHeader = true;
|
|
showKeybinds = true;
|
|
largeButtonsStyle = true;
|
|
largeButtonsLayout = "single-row";
|
|
powerOptions = [
|
|
{
|
|
action = "lock";
|
|
enabled = true;
|
|
keybind = "1";
|
|
}
|
|
{
|
|
action = "suspend";
|
|
enabled = true;
|
|
keybind = "2";
|
|
}
|
|
{
|
|
action = "hibernate";
|
|
enabled = true;
|
|
keybind = "3";
|
|
}
|
|
{
|
|
action = "reboot";
|
|
enabled = true;
|
|
keybind = "4";
|
|
}
|
|
{
|
|
action = "logout";
|
|
enabled = true;
|
|
keybind = "5";
|
|
}
|
|
{
|
|
action = "shutdown";
|
|
enabled = true;
|
|
keybind = "6";
|
|
}
|
|
];
|
|
};
|
|
notifications = {
|
|
enabled = true;
|
|
enableMarkdown = false;
|
|
density = "default";
|
|
monitors = [ ];
|
|
location = "top_right";
|
|
overlayLayer = true;
|
|
backgroundOpacity = 1;
|
|
respectExpireTimeout = false;
|
|
lowUrgencyDuration = 3;
|
|
normalUrgencyDuration = 8;
|
|
criticalUrgencyDuration = 15;
|
|
clearDismissed = true;
|
|
saveToHistory = {
|
|
low = true;
|
|
normal = true;
|
|
critical = true;
|
|
};
|
|
sounds = {
|
|
enabled = false;
|
|
volume = 0.5;
|
|
separateSounds = false;
|
|
criticalSoundFile = "";
|
|
normalSoundFile = "";
|
|
lowSoundFile = "";
|
|
excludedApps = "discord,firefox,chrome,chromium,edge";
|
|
};
|
|
enableMediaToast = false;
|
|
enableKeyboardLayoutToast = true;
|
|
enableBatteryToast = true;
|
|
};
|
|
osd = {
|
|
enabled = true;
|
|
location = "top_right";
|
|
autoHideMs = 2000;
|
|
overlayLayer = true;
|
|
backgroundOpacity = 1;
|
|
enabledTypes = [
|
|
0
|
|
1
|
|
2
|
|
];
|
|
monitors = [ ];
|
|
};
|
|
audio = {
|
|
volumeStep = 5;
|
|
volumeOverdrive = false;
|
|
cavaFrameRate = 30;
|
|
visualizerType = "linear";
|
|
mprisBlacklist = [ ];
|
|
preferredPlayer = "";
|
|
volumeFeedback = false;
|
|
};
|
|
brightness = {
|
|
brightnessStep = 5;
|
|
enforceMinimum = true;
|
|
enableDdcSupport = false;
|
|
};
|
|
colorSchemes = {
|
|
useWallpaperColors = false;
|
|
predefinedScheme = "Ayu";
|
|
darkMode = true;
|
|
schedulingMode = "off";
|
|
manualSunrise = "06:30";
|
|
manualSunset = "18:30";
|
|
generationMethod = "tonal-spot";
|
|
monitorForColors = "";
|
|
};
|
|
templates = {
|
|
activeTemplates = [ ];
|
|
enableUserTheming = false;
|
|
};
|
|
nightLight = {
|
|
enabled = false;
|
|
forced = false;
|
|
autoSchedule = true;
|
|
nightTemp = "4000";
|
|
dayTemp = "6500";
|
|
manualSunrise = "06:30";
|
|
manualSunset = "18:30";
|
|
};
|
|
hooks = {
|
|
enabled = false;
|
|
wallpaperChange = "";
|
|
darkModeChange = "";
|
|
screenLock = "";
|
|
screenUnlock = "";
|
|
performanceModeEnabled = "";
|
|
performanceModeDisabled = "";
|
|
startup = "";
|
|
session = "";
|
|
};
|
|
plugins = {
|
|
autoUpdate = false;
|
|
};
|
|
desktopWidgets = {
|
|
enabled = false;
|
|
gridSnap = false;
|
|
monitorWidgets = [ ];
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|