1

Modules/Niri: Update DMS config

This commit is contained in:
2026-02-17 11:45:36 +01:00
parent abdcbe2ce9
commit a2153c4418
2 changed files with 379 additions and 209 deletions

View File

@ -29,10 +29,78 @@
# This is generated from the DMS settings dialog. # This is generated from the DMS settings dialog.
# Run: nix eval --impure --expr 'builtins.fromJSON (builtins.readFile ~/.config/DankMaterialShell/settings.json)' # Run: nix eval --impure --expr 'builtins.fromJSON (builtins.readFile ~/.config/DankMaterialShell/settings.json)'
settings = { settings = {
# Bar acLockTimeout = 0;
acMonitorTimeout = 0;
acProfileName = "";
acSuspendBehavior = 0;
acSuspendTimeout = 0;
activeDisplayProfile = {};
animationSpeed = 1;
appDrawerSectionViewModes = {};
appIdSubstitutions = [
{
pattern = "Spotify";
replacement = "spotify";
type = "exact";
}
{
pattern = "beepertexts";
replacement = "beeper";
type = "exact";
}
{
pattern = "home assistant desktop";
replacement = "homeassistant-desktop";
type = "exact";
}
{
pattern = "com.transmissionbt.transmission";
replacement = "transmission-gtk";
type = "contains";
}
{
pattern = "^steam_app_(\\d+)$";
replacement = "steam_icon_$1";
type = "regex";
}
];
appLauncherGridColumns = 4;
appLauncherViewMode = "list";
appPickerViewMode = "grid";
appsDockActiveColorMode = "primary";
appsDockColorizeActive = false;
appsDockEnlargeOnHover = false;
appsDockEnlargePercentage = 125;
appsDockHideIndicators = false;
appsDockIconSizePercentage = 100;
audioInputDevicePins = {};
audioOutputDevicePins = {};
audioScrollMode = "volume";
audioVisualizerEnabled = true;
audioWheelScrollAmount = 5;
barConfigs = [ barConfigs = [
{ {
# Widgets autoHide = false;
autoHideDelay = 250;
borderColor = "surfaceText";
borderEnabled = false;
borderOpacity = 1;
borderThickness = 2;
bottomGap = 0;
centerWidgets = [
{
enabled = true;
id = "music";
mediaSize = 1;
}
];
enabled = true;
fontScale = 1.1;
gothCornerRadiusOverride = false;
gothCornerRadiusValue = 12;
gothCornersEnabled = false;
id = "default";
innerPadding = 4;
leftWidgets = [ leftWidgets = [
{ {
enabled = true; enabled = true;
@ -48,14 +116,18 @@
id = "focusedWindow"; id = "focusedWindow";
} }
]; ];
centerWidgets = [ maximizeDetection = true;
name = "Main Bar";
noBackground = false;
openOnOverview = true;
popupGapsAuto = true;
popupGapsManual = 4;
position = 0;
rightWidgets = [
{ {
enabled = true; enabled = true;
id = "music"; id = "privacyIndicator";
mediaSize = 1;
} }
];
rightWidgets = [
{ {
enabled = true; enabled = true;
id = "cpuUsage"; id = "cpuUsage";
@ -78,6 +150,10 @@
enabled = true; enabled = true;
id = "clipboard"; id = "clipboard";
} }
{
enabled = true;
id = "vpn";
}
{ {
enabled = true; enabled = true;
id = "controlCenterButton"; id = "controlCenterButton";
@ -96,95 +172,54 @@
id = "notificationButton"; id = "notificationButton";
} }
]; ];
screenPreferences = ["all"];
enabled = true; showOnLastDisplay = true;
id = "default";
name = "Main Bar";
# Behavior
autoHide = false;
autoHideDelay = 250;
maximizeDetection = true;
openOnOverview = false;
# Border
borderColor = "surfaceText";
borderEnabled = false;
borderOpacity = 1;
borderThickness = 2;
gothCornerRadiusOverride = false;
gothCornerRadiusValue = 12;
gothCornersEnabled = false;
# Styling
position = 0;
fontScale = 1.1;
bottomGap = 0;
innerPadding = 4;
noBackground = false;
popupGapsAuto = true;
popupGapsManual = 4;
spacing = 0; spacing = 0;
squareCorners = true;
transparency = 1; transparency = 1;
visible = true;
widgetOutlineColor = "primary"; widgetOutlineColor = "primary";
widgetOutlineEnabled = false; widgetOutlineEnabled = false;
widgetOutlineOpacity = 1; widgetOutlineOpacity = 1;
widgetOutlineThickness = 2; widgetOutlineThickness = 2;
widgetTransparency = 1; widgetTransparency = 1;
squareCorners = true;
screenPreferences = ["all"];
showOnLastDisplay = true;
visible = true;
} }
]; ];
barMaxVisibleApps = 0;
# Power saving barMaxVisibleRunningApps = 0;
acLockTimeout = 0; barShowOverflowBadge = true;
acMonitorTimeout = 0; batteryChargeLimit = 100;
acProfileName = "";
acSuspendBehavior = 0;
acSuspendTimeout = 0;
animationSpeed = 1;
# Launcher
appLauncherGridColumns = 4;
appLauncherViewMode = "list";
launchPrefix = "";
launcherLogoBrightness = 0.5;
launcherLogoColorInvertOnMode = false;
launcherLogoColorOverride = "";
launcherLogoContrast = 1;
launcherLogoCustomPath = "";
launcherLogoMode = "os";
launcherLogoSizeOffset = 0;
# Audio
audioInputDevicePins = {};
audioOutputDevicePins = {};
audioVisualizerEnabled = true;
# Battery
batteryLockTimeout = 0; batteryLockTimeout = 0;
batteryMonitorTimeout = 0; batteryMonitorTimeout = 0;
batteryProfileName = ""; batteryProfileName = "";
batterySuspendBehavior = 0; batterySuspendBehavior = 0;
batterySuspendTimeout = 0; batterySuspendTimeout = 0;
bluetoothDevicePins = {};
# Wallpaper
blurWallpaperOnOverview = true; blurWallpaperOnOverview = true;
blurredWallpaperLayer = false; blurredWallpaperLayer = true;
wallpaperFillMode = "Fill"; brightnessDevicePins = {};
browserPickerViewMode = "grid";
# Control center browserUsageHistory = {};
builtInPluginSettings = {dms_settings_search = {trigger = "?";};};
buttonColorMode = "primary";
centeringMode = "index";
clipboardEnterToPaste = false;
clockCompactMode = false;
clockDateFormat = "yyyy-MM-dd";
configVersion = 5;
controlCenterShowAudioIcon = true; controlCenterShowAudioIcon = true;
controlCenterShowAudioPercent = false;
controlCenterShowBatteryIcon = false; controlCenterShowBatteryIcon = false;
controlCenterShowBluetoothIcon = true; controlCenterShowBluetoothIcon = true;
controlCenterShowBrightnessIcon = false; controlCenterShowBrightnessIcon = false;
controlCenterShowBrightnessPercent = false;
controlCenterShowMicIcon = true; controlCenterShowMicIcon = true;
controlCenterShowMicPercent = false;
controlCenterShowNetworkIcon = true; controlCenterShowNetworkIcon = true;
controlCenterShowPrinterIcon = false; controlCenterShowPrinterIcon = false;
controlCenterShowScreenSharingIcon = true;
controlCenterShowVpnIcon = true; controlCenterShowVpnIcon = true;
controlCenterTileColorMode = "primary";
controlCenterWidgets = [ controlCenterWidgets = [
{ {
enabled = true; enabled = true;
@ -227,70 +262,242 @@
width = 50; width = 50;
} }
]; ];
# Theme
currentThemeName = "custom";
currentThemeCategory = "registry";
customThemeFile = "${config.paths.dotfiles}/dankmaterialshell/catppuccin-mauve.json";
# Styling
cornerRadius = 10; cornerRadius = 10;
currentThemeCategory = "registry";
currentThemeName = "custom";
cursorSettings = {
dwl = {cursorHideTimeout = 0;};
hyprland = {
hideOnKeyPress = false;
hideOnTouch = false;
inactiveTimeout = 0;
};
niri = {
hideAfterInactiveMs = 0;
hideWhenTyping = false;
};
size = 24;
theme = "System Default";
};
customAnimationDuration = 500; customAnimationDuration = 500;
fontFamily = "MonoLisa Normal"; customPowerActionHibernate = "";
monoFontFamily = "MonoLisa Normal"; customPowerActionLock = "";
fontScale = 1; customPowerActionLogout = "";
fontWeight = 500; customPowerActionPowerOff = "";
gtkThemingEnabled = false; customPowerActionReboot = "";
iconTheme = "System Default"; customPowerActionSuspend = "";
customThemeFile = "/home/christoph/NixFlake/config/dankmaterialshell/catppuccin-mauve.json";
# Lock dankLauncherV2BorderColor = "primary";
dankLauncherV2BorderEnabled = false;
dankLauncherV2BorderThickness = 2;
dankLauncherV2ShowFooter = true;
dankLauncherV2Size = "compact";
dankLauncherV2UnloadOnClose = false;
desktopClockColorMode = "primary";
desktopClockCustomColor = {
a = 1;
b = 1;
g = 1;
hslHue = -1;
hslLightness = 1;
hslSaturation = 0;
hsvHue = -1;
hsvSaturation = 0;
hsvValue = 1;
r = 1;
valid = true;
};
desktopClockDisplayPreferences = ["all"];
desktopClockEnabled = false;
desktopClockHeight = 180;
desktopClockShowAnalogNumbers = false;
desktopClockShowAnalogSeconds = true;
desktopClockShowDate = true;
desktopClockStyle = "analog";
desktopClockTransparency = 0.8;
desktopClockWidth = 280;
desktopClockX = -1;
desktopClockY = -1;
desktopWidgetGridSettings = {};
desktopWidgetGroups = [];
desktopWidgetInstances = [];
desktopWidgetPositions = {};
displayNameMode = "system";
displayProfileAutoSelect = false;
displayProfiles = {};
displayShowDisconnected = false;
displaySnapToEdge = true;
dockAutoHide = false;
dockBorderColor = "surfaceText";
dockBorderEnabled = false;
dockBorderOpacity = 1;
dockBorderThickness = 1;
dockBottomGap = 0;
dockGroupByApp = false;
dockIconSize = 40;
dockIndicatorStyle = "circle";
dockIsolateDisplays = false;
dockLauncherEnabled = false;
dockLauncherLogoBrightness = 0.5;
dockLauncherLogoColorOverride = "";
dockLauncherLogoContrast = 1;
dockLauncherLogoCustomPath = "";
dockLauncherLogoMode = "apps";
dockLauncherLogoSizeOffset = 0;
dockMargin = 0;
dockMaxVisibleApps = 0;
dockMaxVisibleRunningApps = 0;
dockOpenOnOverview = false;
dockPosition = 1;
dockShowOverflowBadge = true;
dockSmartAutoHide = false;
dockSpacing = 4;
dockTransparency = 1;
dwlShowAllTags = false;
enableFprint = false;
enableRippleEffects = true;
enabledGpuPciIds = [];
fadeToDpmsEnabled = true;
fadeToDpmsGracePeriod = 5;
fadeToLockEnabled = true; fadeToLockEnabled = true;
fadeToLockGracePeriod = 5; fadeToLockGracePeriod = 5;
filePickerUsageHistory = {};
focusedWindowCompactMode = false;
fontFamily = "MonoLisa Normal";
fontScale = 1;
fontWeight = 500;
groupWorkspaceApps = true;
gtkThemingEnabled = false;
hideBrightnessSlider = false;
hyprlandLayoutBorderSize = -1;
hyprlandLayoutGapsOverride = -1;
hyprlandLayoutRadiusOverride = -1;
hyprlandOutputSettings = {};
iconTheme = "System Default";
keyboardLayoutNameCompactMode = false;
launchPrefix = "";
launcherLogoBrightness = 0.5;
launcherLogoColorInvertOnMode = false;
launcherLogoColorOverride = "";
launcherLogoContrast = 1;
launcherLogoCustomPath = "";
launcherLogoMode = "os";
launcherLogoSizeOffset = 0;
launcherPluginOrder = [];
launcherPluginVisibility = {};
lockAtStartup = false;
lockBeforeSuspend = false; lockBeforeSuspend = false;
lockDateFormat = "yyyy-MM-dd"; lockDateFormat = "yyyy-MM-dd";
lockScreenActiveMonitor = "all"; lockScreenActiveMonitor = "all";
lockScreenInactiveColor = "#000000"; lockScreenInactiveColor = "#000000";
lockScreenNotificationMode = 0;
lockScreenPowerOffMonitorsOnLock = false;
lockScreenShowDate = true; lockScreenShowDate = true;
lockScreenShowMediaPlayer = true;
lockScreenShowPasswordField = true; lockScreenShowPasswordField = true;
lockScreenShowPowerActions = true; lockScreenShowPowerActions = true;
lockScreenShowProfileImage = true; lockScreenShowProfileImage = true;
lockScreenShowSystemIcons = true; lockScreenShowSystemIcons = true;
lockScreenShowTime = true; lockScreenShowTime = true;
loginctlLockIntegration = true; loginctlLockIntegration = true;
mangoLayoutBorderSize = -1;
# Notifications mangoLayoutGapsOverride = -1;
mangoLayoutRadiusOverride = -1;
matugenScheme = "scheme-tonal-spot";
matugenTargetMonitor = "";
matugenTemplateAlacritty = true;
matugenTemplateDgop = true;
matugenTemplateEmacs = true;
matugenTemplateEquibop = true;
matugenTemplateFirefox = true;
matugenTemplateFoot = true;
matugenTemplateGhostty = true;
matugenTemplateGtk = true;
matugenTemplateHyprland = true;
matugenTemplateKcolorscheme = true;
matugenTemplateKitty = true;
matugenTemplateMangowc = true;
matugenTemplateNeovim = true;
matugenTemplateNiri = true;
matugenTemplatePywalfox = true;
matugenTemplateQt5ct = true;
matugenTemplateQt6ct = true;
matugenTemplateVesktop = true;
matugenTemplateVscode = true;
matugenTemplateWezterm = true;
matugenTemplateZenBrowser = true;
maxFprintTries = 15;
maxWorkspaceIcons = 3;
mediaSize = 1;
modalAnimationSpeed = 1;
modalCustomAnimationDuration = 150;
modalDarkenBackground = true;
monoFontFamily = "MonoLisa Normal";
networkPreference = "auto";
nightModeEnabled = false;
niriLayoutBorderSize = -1;
niriLayoutGapsOverride = -1;
niriLayoutRadiusOverride = -1;
niriOutputSettings = {};
niriOverviewOverlayEnabled = true;
notepadFontFamily = "";
notepadFontSize = 14;
notepadLastCustomTransparency = 0.7;
notepadShowLineNumbers = false;
notepadTransparencyOverride = -1;
notepadUseMonospace = true;
notificationAnimationSpeed = 1;
notificationCompactMode = false;
notificationCustomAnimationDuration = 400;
notificationHistoryEnabled = true;
notificationHistoryMaxAgeDays = 7;
notificationHistoryMaxCount = 50;
notificationHistorySaveCritical = true;
notificationHistorySaveLow = true;
notificationHistorySaveNormal = true;
notificationOverlayEnabled = false; notificationOverlayEnabled = false;
notificationPopupPosition = 0; notificationPopupPosition = 0;
notificationPopupPrivacyMode = false;
notificationPopupShadowEnabled = true;
notificationRules = [];
notificationTimeoutCritical = 0; notificationTimeoutCritical = 0;
notificationTimeoutLow = 5000; notificationTimeoutLow = 5000;
notificationTimeoutNormal = 5000; notificationTimeoutNormal = 5000;
# OSD
osdAlwaysShowValue = true; osdAlwaysShowValue = true;
osdAudioOutputEnabled = true; osdAudioOutputEnabled = true;
osdBrightnessEnabled = true; osdBrightnessEnabled = true;
osdCapsLockEnabled = true; osdCapsLockEnabled = true;
osdIdleInhibitorEnabled = true; osdIdleInhibitorEnabled = true;
osdMediaPlaybackEnabled = true;
osdMediaVolumeEnabled = true; osdMediaVolumeEnabled = true;
osdMicMuteEnabled = true; osdMicMuteEnabled = true;
osdPosition = 7; osdPosition = 7;
osdPowerProfileEnabled = false; osdPowerProfileEnabled = false;
osdVolumeEnabled = true; osdVolumeEnabled = true;
padHours12Hour = false;
# Power menu popoutAnimationSpeed = 1;
popoutCustomAnimationDuration = 150;
popupTransparency = 1;
powerActionConfirm = true; powerActionConfirm = true;
powerActionHoldDuration = 0.5; powerActionHoldDuration = 0.5;
powerMenuActions = ["reboot" "logout" "poweroff" "lock" "restart"]; powerMenuActions = ["reboot" "logout" "poweroff" "lock" "restart"];
powerMenuDefaultAction = "poweroff"; powerMenuDefaultAction = "poweroff";
powerMenuGridLayout = false; powerMenuGridLayout = false;
privacyShowCameraIcon = false;
# Settings privacyShowMicIcon = false;
focusedWindowCompactMode = false; privacyShowScreenShareIcon = false;
hideBrightnessSlider = false; qtThemingEnabled = false;
keyboardLayoutNameCompactMode = false; registryThemeVariants = {};
modalDarkenBackground = true; reverseScrolling = false;
nightModeEnabled = false; runDmsMatugenTemplates = false;
niriOverviewOverlayEnabled = true; runUserMatugenTemplates = false;
runningAppsCompactMode = true;
runningAppsCurrentMonitor = false;
runningAppsCurrentWorkspace = false;
runningAppsGroupByApp = false;
screenPreferences = {};
scrollTitleEnabled = true;
selectedGpuIndex = 0;
showBattery = false; showBattery = false;
showCapsLockIndicator = false; showCapsLockIndicator = false;
showClipboard = true; showClipboard = true;
@ -306,127 +513,92 @@
showMusic = true; showMusic = true;
showNotificationButton = true; showNotificationButton = true;
showOccupiedWorkspacesOnly = false; showOccupiedWorkspacesOnly = false;
showOnLastDisplay = {};
showPrivacyButton = false; showPrivacyButton = false;
showSeconds = true;
showSystemTray = true; showSystemTray = true;
showWeather = true;
showWorkspaceApps = false; showWorkspaceApps = false;
showWorkspaceIndex = false; showWorkspaceIndex = false;
showWorkspaceName = false;
showWorkspacePadding = false; showWorkspacePadding = false;
showWorkspaceSwitcher = true; showWorkspaceSwitcher = true;
sortAppsAlphabetically = false;
soundNewNotification = true; soundNewNotification = true;
soundPluggedIn = true; soundPluggedIn = true;
soundVolumeChanged = true; soundVolumeChanged = true;
soundsEnabled = false; soundsEnabled = false;
# Launcher
sortAppsAlphabetically = false;
spotlightCloseNiriOverview = true; spotlightCloseNiriOverview = true;
spotlightModalViewMode = "list"; spotlightModalViewMode = "list";
spotlightSectionViewModes = {};
# Clock syncComponentAnimationSpeeds = true;
syncModeWithPortal = true;
systemMonitorColorMode = "primary";
systemMonitorCustomColor = {
a = 1;
b = 1;
g = 1;
hslHue = -1;
hslLightness = 1;
hslSaturation = 0;
hsvHue = -1;
hsvSaturation = 0;
hsvValue = 1;
r = 1;
valid = true;
};
systemMonitorDisplayPreferences = ["all"];
systemMonitorEnabled = false;
systemMonitorGpuPciId = "";
systemMonitorGraphInterval = 60;
systemMonitorHeight = 480;
systemMonitorLayoutMode = "auto";
systemMonitorShowCpu = true;
systemMonitorShowCpuGraph = true;
systemMonitorShowCpuTemp = true;
systemMonitorShowDisk = true;
systemMonitorShowGpuTemp = false;
systemMonitorShowHeader = true;
systemMonitorShowMemory = true;
systemMonitorShowMemoryGraph = true;
systemMonitorShowNetwork = true;
systemMonitorShowNetworkGraph = true;
systemMonitorShowTopProcesses = false;
systemMonitorTopProcessCount = 3;
systemMonitorTopProcessSortBy = "cpu";
systemMonitorTransparency = 0.8;
systemMonitorVariants = [];
systemMonitorWidth = 320;
systemMonitorX = -1;
systemMonitorY = -1;
terminalsAlwaysDark = false;
updaterCustomCommand = "";
updaterHideWidget = false;
updaterTerminalAdditionalParams = "";
updaterUseCustomCommand = false;
use24HourClock = true; use24HourClock = true;
showSeconds = true;
clockCompactMode = false;
clockDateFormat = "yyyy-MM-dd";
# Media
waveProgressEnabled = true;
scrollTitleEnabled = true;
# Weather
showWeather = true;
useFahrenheit = false;
useAutoLocation = false; useAutoLocation = false;
weatherCoordinates = "51.5142273,7.4652789"; useFahrenheit = false;
useSystemSoundTheme = false;
wallpaperFillMode = "Fill";
waveProgressEnabled = true;
weatherEnabled = true; weatherEnabled = true;
weatherLocation = "Dortmund, Nordrhein-Westfalen";
# Workspaces
workspaceNameIcons = {};
workspaceScrolling = false;
workspacesPerMonitor = true;
# Dock
dockAutoHide = false;
dockBorderColor = "surfaceText";
dockBorderEnabled = false;
dockBorderOpacity = 1;
dockBorderThickness = 1;
dockBottomGap = 0;
dockGroupByApp = false;
dockIconSize = 40;
dockIndicatorStyle = "circle";
dockMargin = 0;
dockOpenOnOverview = false;
dockPosition = 1;
dockSpacing = 4;
dockTransparency = 1;
# Random shit
widgetBackgroundColor = "sc"; widgetBackgroundColor = "sc";
widgetColorMode = "default"; widgetColorMode = "default";
wifiNetworkPins = {}; wifiNetworkPins = {};
brightnessDevicePins = {}; windSpeedUnit = "kmh";
bluetoothDevicePins = {}; workspaceAppIconSizeOffset = 0;
centeringMode = "index"; workspaceColorMode = "default";
useSystemSoundTheme = false; workspaceDragReorder = true;
vpnLastConnected = ""; workspaceFocusedBorderColor = "primary";
syncModeWithPortal = true; workspaceFocusedBorderEnabled = false;
terminalsAlwaysDark = false; workspaceFocusedBorderThickness = 2;
updaterCustomCommand = ""; workspaceFollowFocus = false;
updaterTerminalAdditionalParams = ""; workspaceNameIcons = {};
updaterUseCustomCommand = false; workspaceOccupiedColorMode = "none";
showOnLastDisplay = {}; workspaceScrolling = false;
dwlShowAllTags = false; workspaceUnfocusedColorMode = "default";
enableFprint = false; workspaceUrgentColorMode = "default";
enabledGpuPciIds = [];
customPowerActionHibernate = "";
customPowerActionLock = "";
customPowerActionLogout = "";
customPowerActionPowerOff = "";
customPowerActionReboot = "";
customPowerActionSuspend = "";
displayNameMode = "system";
matugenScheme = "scheme-tonal-spot";
matugenTargetMonitor = "";
matugenTemplateAlacritty = true;
matugenTemplateDgop = true;
matugenTemplateFirefox = true;
matugenTemplateFoot = true;
matugenTemplateGhostty = true;
matugenTemplateGtk = true;
matugenTemplateKcolorscheme = true;
matugenTemplateKitty = true;
matugenTemplateNiri = true;
matugenTemplatePywalfox = true;
matugenTemplateQt5ct = true;
matugenTemplateQt6ct = true;
matugenTemplateVesktop = true;
matugenTemplateVscode = true;
matugenTemplateWezterm = true;
notepadFontFamily = "";
notepadFontSize = 14;
notepadLastCustomTransparency = 0.7;
notepadShowLineNumbers = false;
notepadTransparencyOverride = -1;
notepadUseMonospace = true;
maxFprintTries = 15;
maxWorkspaceIcons = 3;
mediaSize = 1;
networkPreference = "auto";
selectedGpuIndex = 0;
popupTransparency = 1;
privacyShowCameraIcon = false;
privacyShowMicIcon = false;
privacyShowScreenShareIcon = false;
qtThemingEnabled = false;
runDmsMatugenTemplates = false;
runUserMatugenTemplates = false;
runningAppsCompactMode = true;
runningAppsCurrentWorkspace = false;
runningAppsGroupByApp = false;
screenPreferences = {};
configVersion = 2;
}; };
session = { session = {

View File

@ -298,10 +298,8 @@ in {
unitConfig.DefaultDependencies = "no"; unitConfig.DefaultDependencies = "no";
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";
# NOTE: If any single line of this script fails # NOTE: If any single line of this script fails the entire system might be bricked.
# the entire system might be bricked. # NixOS automatically sets "-e", so if unlucky, the subvolumes won'e exist for mounting...
# NixOS automatically sets "-e", so if unlucky,
# the subvolumes won'e exist for mounting...
script = let script = let
mvSubvolToPersist = subvol: '' mvSubvolToPersist = subvol: ''
if [[ -e ${mountDir}/${subvol} ]]; then if [[ -e ${mountDir}/${subvol} ]]; then