Compare commits

13 Commits
Author SHA1 Message Date
msyds 0781321e32 feat(beats): init
build / build (push) Successful in 3m10s
2026-08-06 17:56:25 -06:00
msyds b431bffe11 feat(emacs): wat-mode 2026-07-18 16:27:24 -06:00
msyds eff27bef6c fix(niri): wallpaper
build / build (push) Successful in 1m51s
2026-07-09 01:15:30 -06:00
msyds 857361eef9 fix(fruitbook): specify fstype
build / build (push) Successful in 2m34s
2026-07-07 16:44:51 -06:00
msyds b91a681072 fix(emacs): disable lsp formatting
build / build (push) Failing after 43s
2026-07-07 16:43:23 -06:00
msyds 5d502329a2 fix(emacs): don't import TERM from systemd 2026-07-07 16:40:01 -06:00
msyds 8e9be9e05d fix(servarr): update ip
build / build (push) Failing after 45s
2026-06-30 18:42:19 -06:00
msyds 6aa7adfa66 fix(jellyfin-rpc): blacklist media types
build / build (push) Failing after 52s
2026-06-30 16:00:24 -06:00
msyds cc48c11448 fix: update host aliases
build / build (push) Failing after 30s
2026-06-29 19:15:49 -06:00
msyds 7e73ef399a chore(emacs): dired switches 2026-06-29 19:15:23 -06:00
msyds ba158c9ee8 fix(emacs): transient comes from straight 2026-06-29 19:15:09 -06:00
msyds 5c5b6682ae fix(emacs): geiser popup
build / build (push) Failing after 24s
2026-06-29 19:14:45 -06:00
msyds 90ad26daf6 fix(emacs): project relative path: return nil when not in project
build / build (push) Failing after 38s
2026-06-29 19:05:28 -06:00
19 changed files with 678 additions and 269 deletions
+1
View File
@@ -67,6 +67,7 @@
murmur.enable = true;
anki-sync-server.enable = true;
vaultwarden.enable = true;
beets.enable = true;
servarr = {
enable = true;
prowlarr.enable = true;
+1
View File
@@ -15,6 +15,7 @@ in {
"/nix" = subvol "nix";
"/boot" = {
device = "/dev/disk/by-id/ata-APPLE_SSD_SM0512G_S29ANYAH526520-part3";
fsType = "vfat";
};
};
}
+1 -1
View File
@@ -31,7 +31,7 @@ let
display = ["year" "album" "genres"];
separator = "";
};
blacklist.libraries = [
blacklist.media_types = [
"episode"
"movie"
"book"
+15 -4
View File
@@ -64,6 +64,20 @@ in {
# File-picker.
home.packages = [ pkgs.nautilus ];
systemd.user.services.wbg = lib.mkIf (! builtins.isNull cfg.wallpaper) {
Unit = {
Description = "Desktop wallpaper";
After = [ "niri.service" ];
PartOf = [ "niri.service" ];
};
Install.WantedBy = [
"niri.service"
];
Service.ExecStart = ''
${lib.getExe pkgs.wbg} "${cfg.wallpaper}"
'';
};
programs.niri = {
settings = {
# Activates some Nixpkgs patches to help run Electron applications under
@@ -82,10 +96,7 @@ in {
{ command = [ "${pkgs.swaynotificationcenter}/bin/swaync" ]; }
++ lib.optional cfg.gammastep.enable
{ command = [ "${pkgs.gammastep}/bin/gammastep" "-o" "-O" "4000k"
"-b" "0.9:0.9" "-l" "0:0"]; }
++ lib.optional
(! builtins.isNull cfg.wallpaper)
{ command = [ "${pkgs.wbg}/bin/wbg" "${cfg.wallpaper}" ]; };
"-b" "0.9:0.9" "-l" "0:0"]; };
input = {
keyboard.xkb = {
@@ -0,0 +1,533 @@
{
"currentThemeName": "custom",
"currentThemeCategory": "generic",
"registryThemeVariants": {},
"matugenScheme": "scheme-tonal-spot",
"runUserMatugenTemplates": true,
"matugenTargetMonitor": "",
"widgetBackgroundColor": "sch",
"widgetColorMode": "default",
"controlCenterTileColorMode": "primary",
"buttonColorMode": "primary",
"cornerRadius": 12,
"niriLayoutGapsOverride": -1,
"niriLayoutRadiusOverride": -1,
"niriLayoutBorderSize": -1,
"hyprlandLayoutGapsOverride": -1,
"hyprlandLayoutRadiusOverride": -1,
"hyprlandLayoutBorderSize": -1,
"mangoLayoutGapsOverride": -1,
"mangoLayoutRadiusOverride": -1,
"mangoLayoutBorderSize": -1,
"use24HourClock": true,
"showSeconds": false,
"padHours12Hour": false,
"useFahrenheit": false,
"windSpeedUnit": "kmh",
"nightModeEnabled": true,
"animationSpeed": 1,
"customAnimationDuration": 500,
"syncComponentAnimationSpeeds": true,
"popoutAnimationSpeed": 1,
"popoutCustomAnimationDuration": 150,
"modalAnimationSpeed": 1,
"modalCustomAnimationDuration": 150,
"enableRippleEffects": true,
"blurEnabled": false,
"blurForegroundLayers": true,
"blurLayerOutlineOpacity": 0.12,
"blurBorderOpacity": 0.35,
"wallpaperFillMode": "Fill",
"blurredWallpaperLayer": false,
"blurWallpaperOnOverview": true,
"showLauncherButton": true,
"showWorkspaceSwitcher": true,
"showFocusedWindow": true,
"showWeather": false,
"showMusic": true,
"showClipboard": true,
"showCpuUsage": true,
"showMemUsage": true,
"showCpuTemp": true,
"showGpuTemp": true,
"selectedGpuIndex": 0,
"enabledGpuPciIds": [],
"showSystemTray": true,
"systemTrayIconTintMode": "none",
"systemTrayIconTintSaturation": 50,
"systemTrayIconTintStrength": 135,
"showClock": true,
"showNotificationButton": true,
"showBattery": true,
"showControlCenterButton": true,
"showCapsLockIndicator": true,
"controlCenterShowNetworkIcon": true,
"controlCenterShowBluetoothIcon": false,
"controlCenterShowAudioIcon": true,
"controlCenterShowAudioPercent": false,
"controlCenterShowVpnIcon": true,
"controlCenterShowBrightnessIcon": false,
"controlCenterShowBrightnessPercent": false,
"controlCenterShowMicIcon": false,
"controlCenterShowMicPercent": false,
"controlCenterShowBatteryIcon": false,
"controlCenterShowPrinterIcon": false,
"controlCenterShowScreenSharingIcon": true,
"showPrivacyButton": true,
"privacyShowMicIcon": false,
"privacyShowCameraIcon": false,
"privacyShowScreenShareIcon": false,
"controlCenterWidgets": [
{
"enabled": true,
"id": "volumeSlider",
"width": 50
},
{
"enabled": true,
"id": "brightnessSlider",
"width": 50
},
{
"enabled": true,
"id": "wifi",
"width": 50
},
{
"enabled": true,
"id": "bluetooth",
"width": 50
},
{
"enabled": true,
"id": "audioOutput",
"width": 50
},
{
"enabled": true,
"id": "audioInput",
"width": 50
},
{
"enabled": true,
"id": "nightMode",
"width": 50
},
{
"enabled": true,
"id": "darkMode",
"width": 50
}
],
"showWorkspaceIndex": false,
"showWorkspaceName": false,
"showWorkspacePadding": false,
"workspaceScrolling": false,
"showWorkspaceApps": false,
"workspaceDragReorder": true,
"maxWorkspaceIcons": 3,
"workspaceAppIconSizeOffset": 0,
"groupWorkspaceApps": true,
"workspaceFollowFocus": false,
"showOccupiedWorkspacesOnly": false,
"reverseScrolling": false,
"dwlShowAllTags": false,
"workspaceColorMode": "default",
"workspaceOccupiedColorMode": "none",
"workspaceUnfocusedColorMode": "default",
"workspaceUrgentColorMode": "default",
"workspaceFocusedBorderEnabled": false,
"workspaceFocusedBorderColor": "primary",
"workspaceFocusedBorderThickness": 2,
"workspaceNameIcons": {},
"waveProgressEnabled": true,
"scrollTitleEnabled": true,
"audioVisualizerEnabled": true,
"audioScrollMode": "volume",
"audioWheelScrollAmount": 5,
"clockCompactMode": false,
"focusedWindowCompactMode": false,
"runningAppsCompactMode": true,
"barMaxVisibleApps": 0,
"barMaxVisibleRunningApps": 0,
"barShowOverflowBadge": true,
"appsDockHideIndicators": false,
"appsDockColorizeActive": false,
"appsDockActiveColorMode": "primary",
"appsDockEnlargeOnHover": false,
"appsDockEnlargePercentage": 125,
"appsDockIconSizePercentage": 100,
"keyboardLayoutNameCompactMode": false,
"runningAppsCurrentWorkspace": false,
"runningAppsGroupByApp": false,
"runningAppsCurrentMonitor": false,
"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"
}
],
"centeringMode": "index",
"clockDateFormat": "",
"lockDateFormat": "",
"greeterRememberLastSession": true,
"greeterRememberLastUser": true,
"greeterEnableFprint": false,
"greeterEnableU2f": false,
"greeterWallpaperPath": "",
"mediaSize": 1,
"appLauncherViewMode": "list",
"spotlightModalViewMode": "list",
"browserPickerViewMode": "grid",
"browserUsageHistory": {
"firefox": {
"count": 1,
"lastUsed": 1783574029469,
"name": "Firefox"
}
},
"appPickerViewMode": "grid",
"filePickerUsageHistory": {},
"sortAppsAlphabetically": false,
"appLauncherGridColumns": 4,
"spotlightCloseNiriOverview": true,
"spotlightSectionViewModes": {},
"appDrawerSectionViewModes": {},
"niriOverviewOverlayEnabled": true,
"dankLauncherV2Size": "compact",
"dankLauncherV2BorderEnabled": false,
"dankLauncherV2BorderThickness": 2,
"dankLauncherV2BorderColor": "primary",
"dankLauncherV2ShowFooter": true,
"dankLauncherV2UnloadOnClose": false,
"useAutoLocation": false,
"weatherEnabled": true,
"networkPreference": "auto",
"cursorSettings": {
"size": 24,
"niri": {
"hideWhenTyping": true,
"hideAfterInactiveMs": 2000
},
"hyprland": {
"hideOnKeyPress": false,
"hideOnTouch": false,
"inactiveTimeout": 0
},
"dwl": {
"cursorHideTimeout": 0
}
},
"launcherLogoMode": "apps",
"launcherLogoColorInvertOnMode": false,
"launcherLogoBrightness": 0.5,
"notepadUseMonospace": true,
"notepadShowLineNumbers": false,
"notepadTransparencyOverride": -1,
"notepadLastCustomTransparency": 0.7,
"soundsEnabled": true,
"useSystemSoundTheme": false,
"soundNewNotification": true,
"soundVolumeChanged": true,
"soundPluggedIn": true,
"acMonitorTimeout": 0,
"acLockTimeout": 0,
"acSuspendTimeout": 0,
"acSuspendBehavior": 0,
"acProfileName": "",
"batteryMonitorTimeout": 0,
"batteryLockTimeout": 0,
"batterySuspendTimeout": 0,
"batterySuspendBehavior": 0,
"batteryProfileName": "",
"batteryChargeLimit": 100,
"lockBeforeSuspend": true,
"loginctlLockIntegration": true,
"fadeToLockEnabled": true,
"fadeToLockGracePeriod": 5,
"fadeToDpmsEnabled": true,
"fadeToDpmsGracePeriod": 5,
"launchPrefix": "",
"brightnessDevicePins": {},
"wifiNetworkPins": {},
"bluetoothDevicePins": {},
"audioInputDevicePins": {},
"audioOutputDevicePins": {},
"gtkThemingEnabled": false,
"qtThemingEnabled": false,
"syncModeWithPortal": true,
"terminalsAlwaysDark": false,
"muxType": "tmux",
"muxUseCustomCommand": false,
"muxCustomCommand": "",
"muxSessionFilter": "",
"runDmsMatugenTemplates": true,
"matugenTemplateGtk": true,
"matugenTemplateNiri": true,
"matugenTemplateHyprland": true,
"matugenTemplateMangowc": true,
"matugenTemplateQt5ct": true,
"matugenTemplateQt6ct": true,
"matugenTemplateFirefox": true,
"matugenTemplatePywalfox": true,
"matugenTemplateZenBrowser": true,
"matugenTemplateVesktop": true,
"matugenTemplateEquibop": true,
"matugenTemplateGhostty": true,
"matugenTemplateKitty": true,
"matugenTemplateFoot": true,
"matugenTemplateAlacritty": true,
"matugenTemplateNeovim": false,
"matugenTemplateWezterm": true,
"matugenTemplateDgop": true,
"matugenTemplateKcolorscheme": true,
"matugenTemplateVscode": true,
"matugenTemplateEmacs": true,
"matugenTemplateZed": true,
"showDock": false,
"dockAutoHide": false,
"dockSmartAutoHide": false,
"dockGroupByApp": false,
"dockOpenOnOverview": false,
"dockPosition": 1,
"dockSpacing": 4,
"dockBottomGap": 0,
"dockMargin": 0,
"dockIconSize": 40,
"dockIndicatorStyle": "circle",
"dockBorderEnabled": false,
"dockBorderOpacity": 1,
"dockBorderThickness": 1,
"dockIsolateDisplays": false,
"dockLauncherEnabled": false,
"dockLauncherLogoMode": "apps",
"dockLauncherLogoCustomPath": "",
"dockLauncherLogoSizeOffset": 0,
"dockLauncherLogoBrightness": 0.5,
"dockLauncherLogoContrast": 1,
"dockMaxVisibleApps": 0,
"dockMaxVisibleRunningApps": 0,
"dockShowOverflowBadge": true,
"notificationOverlayEnabled": false,
"notificationPopupShadowEnabled": true,
"notificationPopupPrivacyMode": false,
"modalDarkenBackground": true,
"lockScreenShowPowerActions": true,
"lockScreenShowSystemIcons": true,
"lockScreenShowTime": true,
"lockScreenShowDate": true,
"lockScreenShowProfileImage": true,
"lockScreenShowPasswordField": true,
"lockScreenShowMediaPlayer": true,
"lockScreenPowerOffMonitorsOnLock": false,
"lockAtStartup": false,
"enableFprint": false,
"maxFprintTries": 15,
"enableU2f": false,
"u2fMode": "or",
"lockScreenActiveMonitor": "all",
"lockScreenInactiveColor": "#000000",
"lockScreenNotificationMode": 0,
"hideBrightnessSlider": false,
"notificationTimeoutLow": 5000,
"notificationTimeoutNormal": 5000,
"notificationTimeoutCritical": 0,
"notificationCompactMode": false,
"notificationPopupPosition": 0,
"notificationAnimationSpeed": 1,
"notificationCustomAnimationDuration": 400,
"notificationHistoryEnabled": true,
"notificationHistoryMaxCount": 50,
"notificationHistoryMaxAgeDays": 7,
"notificationHistorySaveLow": true,
"notificationHistorySaveNormal": true,
"notificationHistorySaveCritical": true,
"notificationRules": [],
"osdAlwaysShowValue": false,
"osdPosition": 5,
"osdVolumeEnabled": true,
"osdMediaVolumeEnabled": true,
"osdMediaPlaybackEnabled": false,
"osdBrightnessEnabled": true,
"osdIdleInhibitorEnabled": true,
"osdMicMuteEnabled": true,
"osdCapsLockEnabled": true,
"osdPowerProfileEnabled": false,
"osdAudioOutputEnabled": true,
"powerActionConfirm": true,
"powerActionHoldDuration": 0.5,
"powerMenuActions": [
"reboot",
"logout",
"poweroff",
"lock",
"suspend"
],
"powerMenuDefaultAction": "logout",
"powerMenuGridLayout": false,
"customPowerActionLock": "",
"customPowerActionLogout": "",
"customPowerActionSuspend": "",
"customPowerActionHibernate": "",
"customPowerActionReboot": "",
"customPowerActionPowerOff": "",
"updaterHideWidget": false,
"updaterUseCustomCommand": false,
"updaterCustomCommand": "",
"updaterTerminalAdditionalParams": "",
"displayNameMode": "system",
"screenPreferences": {
"wallpaper": []
},
"showOnLastDisplay": {},
"niriOutputSettings": {},
"hyprlandOutputSettings": {},
"displayProfiles": {},
"activeDisplayProfile": {},
"displayProfileAutoSelect": false,
"displayShowDisconnected": false,
"displaySnapToEdge": true,
"barConfigs": [
{
"autoHide": false,
"autoHideDelay": 250,
"borderEnabled": false,
"borderOpacity": 1,
"borderThickness": 1,
"bottomGap": 0,
"centerWidgets": [
"music",
"clock",
"weather"
],
"enabled": true,
"gothCornersEnabled": false,
"id": "default",
"innerPadding": 4,
"leftWidgets": [
"launcherButton",
"workspaceSwitcher",
"focusedWindow"
],
"name": "Main Bar",
"noBackground": false,
"openOnOverview": false,
"popupGapsAuto": true,
"popupGapsManual": 4,
"position": 2,
"rightWidgets": [
"systemTray",
"clipboard",
"cpuUsage",
"memUsage",
"notificationButton",
"battery",
"controlCenterButton"
],
"screenPreferences": [
"all"
],
"showOnLastDisplay": true,
"spacing": 4,
"squareCorners": false,
"visible": true
}
],
"desktopClockEnabled": false,
"desktopClockStyle": "analog",
"desktopClockTransparency": 0.8,
"desktopClockColorMode": "primary",
"desktopClockCustomColor": {
"r": 1,
"g": 1,
"b": 1,
"a": 1,
"hsvHue": -1,
"hsvSaturation": 0,
"hsvValue": 1,
"hslHue": -1,
"hslSaturation": 0,
"hslLightness": 1,
"valid": true
},
"desktopClockShowDate": true,
"desktopClockShowAnalogNumbers": false,
"desktopClockShowAnalogSeconds": true,
"desktopClockX": -1,
"desktopClockY": -1,
"desktopClockWidth": 280,
"desktopClockHeight": 180,
"desktopClockDisplayPreferences": [
"all"
],
"systemMonitorEnabled": false,
"systemMonitorShowHeader": true,
"systemMonitorTransparency": 0.8,
"systemMonitorColorMode": "primary",
"systemMonitorCustomColor": {
"r": 1,
"g": 1,
"b": 1,
"a": 1,
"hsvHue": -1,
"hsvSaturation": 0,
"hsvValue": 1,
"hslHue": -1,
"hslSaturation": 0,
"hslLightness": 1,
"valid": true
},
"systemMonitorShowCpu": true,
"systemMonitorShowCpuGraph": true,
"systemMonitorShowCpuTemp": true,
"systemMonitorShowGpuTemp": false,
"systemMonitorGpuPciId": "",
"systemMonitorShowMemory": true,
"systemMonitorShowMemoryGraph": true,
"systemMonitorShowNetwork": true,
"systemMonitorShowNetworkGraph": true,
"systemMonitorShowDisk": true,
"systemMonitorShowTopProcesses": false,
"systemMonitorTopProcessCount": 3,
"systemMonitorTopProcessSortBy": "cpu",
"systemMonitorGraphInterval": 60,
"systemMonitorLayoutMode": "auto",
"systemMonitorX": -1,
"systemMonitorY": -1,
"systemMonitorWidth": 320,
"systemMonitorHeight": 480,
"systemMonitorDisplayPreferences": [
"all"
],
"systemMonitorVariants": [],
"desktopWidgetPositions": {},
"desktopWidgetGridSettings": {},
"desktopWidgetInstances": [],
"desktopWidgetGroups": [],
"builtInPluginSettings": {},
"clipboardEnterToPaste": false,
"launcherPluginVisibility": {},
"launcherPluginOrder": [],
"configVersion": 5
}
@@ -86,244 +86,9 @@ in {
};
programs.dank-material-shell = {
enable = true;
settings = {
theme = "dark";
currentThemeName = "custom";
use24HourClock = true;
showSeconds = false;
useFahrenheit = false;
nightModeEnabled = true;
animationSpeed = 1;
customAnimationDuration = 500;
wallpaperFillMode = "Fill";
blurredWallpaperLayer = false;
blurWallpaperOnOverview = true;
showLauncherButton = true;
showWorkspaceSwitcher = true;
showFocusedWindow = true;
showWeather = false;
showMusic = true;
showClipboard = true;
showCpuUsage = true;
showMemUsage = true;
showCpuTemp = true;
showGpuTemp = true;
selectedGpuIndex = 0;
enabledGpuPciIds = [];
showSystemTray = true;
showClock = true;
showNotificationButton = true;
showBattery = true;
showControlCenterButton = true;
showCapsLockIndicator = true;
controlCenterShowNetworkIcon = true;
controlCenterShowBluetoothIcon = on ["fruitbook"];
controlCenterShowAudioIcon = true;
controlCenterShowVpnIcon = true;
controlCenterShowBrightnessIcon = false;
controlCenterShowMicIcon = false;
controlCenterShowBatteryIcon = false;
controlCenterShowPrinterIcon = false;
showPrivacyButton = true;
privacyShowMicIcon = false;
privacyShowCameraIcon = false;
privacyShowScreenShareIcon = false;
controlCenterWidgets = [
{
id = "volumeSlider";
enabled = true;
width = 50;
}
{
id = "brightnessSlider";
enabled = true;
width = 50;
}
{
id = "wifi";
enabled = true;
width = 50;
}
{
id = "bluetooth";
enabled = true;
width = 50;
}
{
id = "audioOutput";
enabled = true;
width = 50;
}
{
id = "audioInput";
enabled = true;
width = 50;
}
{
id = "nightMode";
enabled = true;
width = 50;
}
{
id = "darkMode";
enabled = true;
width = 50;
}
];
showWorkspaceIndex = false;
showWorkspacePadding = false;
workspaceScrolling = false;
showWorkspaceApps = false;
maxWorkspaceIcons = 3;
workspacesPerMonitor = true;
showOccupiedWorkspacesOnly = false;
dwlShowAllTags = false;
workspaceNameIcons = {};
waveProgressEnabled = true;
scrollTitleEnabled = true;
clockCompactMode = false;
focusedWindowCompactMode = false;
runningAppsCompactMode = true;
keyboardLayoutNameCompactMode = false;
runningAppsCurrentWorkspace = false;
runningAppsGroupByApp = false;
centeringMode = "index";
clockDateFormat = "";
lockDateFormat = "";
mediaSize = 1;
appLauncherViewMode = "list";
spotlightModalViewMode = "list";
sortAppsAlphabetically = false;
appLauncherGridColumns = 4;
spotlightCloseNiriOverview = true;
niriOverviewOverlayEnabled = true;
weatherLocation = "Arvada, Colorado";
weatherCoordinates = "39.8005505,-105.0811573";
useAutoLocation = false;
weatherEnabled = true;
networkPreference = "auto";
iconTheme = "System Default";
launcherLogoMode = "apps";
launcherLogoCustomPath = "";
launcherLogoBrightness = 0.5;
launcherLogoContrast = 1;
launcherLogoSizeOffset = 0;
fontWeight = 400;
fontScale = 1;
notepadUseMonospace = true;
notepadFontSize = 14;
notepadShowLineNumbers = false;
soundsEnabled = true;
useSystemSoundTheme = false;
soundNewNotification = true;
soundVolumeChanged = true;
soundPluggedIn = true;
lockBeforeSuspend = true;
loginctlLockIntegration = true;
fadeToLockEnabled = true;
gtkThemingEnabled = false;
qtThemingEnabled = false;
syncModeWithPortal = true;
terminalsAlwaysDark = false;
showDock = false;
dockAutoHide = false;
dockGroupByApp = false;
dockOpenOnOverview = false;
dockPosition = 1;
dockSpacing = 4;
dockBottomGap = 0;
dockMargin = 0;
dockIconSize = 40;
dockIndicatorStyle = "circle";
dockBorderEnabled = false;
dockBorderOpacity = 1;
dockBorderThickness = 1;
notificationOverlayEnabled = false;
modalDarkenBackground = true;
lockScreenShowPowerActions = true;
enableFprint = false;
maxFprintTries = 15;
lockScreenActiveMonitor = "all";
hideBrightnessSlider = false;
notificationTimeoutLow = 5000;
notificationTimeoutNormal = 5000;
notificationTimeoutCritical = 0;
notificationPopupPosition = 0;
osdAlwaysShowValue = false;
osdPosition = 5;
osdVolumeEnabled = true;
osdMediaVolumeEnabled = true;
osdBrightnessEnabled = true;
osdIdleInhibitorEnabled = true;
osdMicMuteEnabled = true;
osdCapsLockEnabled = true;
osdPowerProfileEnabled = false;
osdAudioOutputEnabled = true;
powerActionConfirm = true;
powerActionHoldDuration = 0.5;
powerMenuActions = [
"reboot"
"logout"
"poweroff"
"lock"
"suspend"
# "restart"
];
powerMenuDefaultAction = "logout";
powerMenuGridLayout = false;
displayNameMode = "system";
screenPreferences.wallpaper = [];
showOnLastDisplay = {};
barConfigs = [
{
id = "default";
name = "Main Bar";
enabled = true;
position = 2;
screenPreferences = [
"all"
];
showOnLastDisplay = true;
leftWidgets = [
"launcherButton"
"workspaceSwitcher"
"focusedWindow"
];
centerWidgets = [
"music"
"clock"
"weather"
];
rightWidgets = [
"systemTray"
"clipboard"
"cpuUsage"
"memUsage"
"notificationButton"
"battery"
"controlCenterButton"
];
spacing = 4;
innerPadding = 4;
bottomGap = 0;
squareCorners = false;
noBackground = false;
gothCornersEnabled = false;
gothCornerRadiusOverride = false;
gothCornerRadiusValue = 12;
borderEnabled = false;
borderOpacity = 1;
borderThickness = 1;
fontScale = 1;
autoHide = false;
autoHideDelay = 250;
openOnOverview = false;
visible = true;
popupGapsAuto = true;
popupGapsManual = 4;
}
];
configVersion = 2;
settings = builtins.fromJSON
(builtins.readFile ./dank-material-shell.json) // {
controlCenterShowBluetoothIcon = on ["fruitbook"];
};
};
};
+1
View File
@@ -17,6 +17,7 @@
syd/kanagawa
syd/comint
syd/evil
syd/wasm
syd/scrolling
syd/fonts
syd/frame
@@ -48,7 +48,10 @@ directory."
'("-l" ; Mandatory!
"--almost-all" ; Show hidden files; omit '.' and '..'.
"--human-readable" ; Display sizes in human-readable units.
"--time-style=+") ; Omit times/dates.
"--time-style=+" ; Omit times/dates.
"-D" ; special diredslop
"-v" ; sort dotfiles first
"--group-directories-first")
" "))
;; Always copy recursively
(dired-recursive-copies 'always)
@@ -15,4 +15,5 @@
,(plist-get (custom-face-attributes-get font-lock-comment-face
(selected-frame))
:foreground))))))
(provide 'syd/form-feed)
@@ -1,6 +1,7 @@
;; -*- lexical-binding: t; -*-
(require 'syd/base)
(require 'syd/handle)
(require 'syd/wasm)
(defun syd-haskell-open-repl ()
"Open a Haskell REPL."
@@ -56,7 +57,10 @@
[remap evil-open-above] #'syd-haskell-evil-open-above
[remap evil-open-below] #'syd-haskell-evil-open-below)
:config
(add-to-list 'completion-ignored-extensions ".hi"))
(add-to-list 'completion-ignored-extensions ".hi")
(add-to-list 'haskell-font-lock-quasi-quote-modes '("wat" . wat-mode))
(add-to-list 'haskell-font-lock-quasi-quote-modes '("wats" . wat-mode))
(add-to-list 'haskell-font-lock-quasi-quote-modes '("expr" . wat-mode)))
(use-package lsp-haskell
:defer t
@@ -25,8 +25,12 @@
:general (:keymaps 'syd-leader-code-map
"a" #'lsp-execute-code-action
"r" #'lsp-rename)
:custom (; Fixes type error when using rename.
(lsp-rename-use-prepare nil))
:custom (;; Fixes type error when using rename.
(lsp-rename-use-prepare nil)
;; Don't override `indent-region' with the server's
;; formatting functionality. Very silly, I think —
;; indentation and formatting are different things.
(lsp-enable-indentation nil))
:config
(syd-defadvice syd-lsp-install-server-a ()
"Override and disbale `lsp-install-server'"
@@ -202,7 +202,8 @@ form."
s))))
(defun syd-project-relative-file-name (file-name)
(file-relative-name file-name (project-root (project-current))))
(when-let* ((proj (project-current)))
(file-relative-name file-name (project-root proj))))
(defvar syd-insert-file-name-alist
`((,#'syd-project-relative-file-name . "Project-relative")
@@ -248,19 +249,21 @@ form."
(defun syd-import-systemd-environment ()
(interactive)
(with-temp-buffer
(shell-command "systemctl --user show-environment" (current-buffer))
(goto-char (point-min))
(while (re-search-forward
(rx bol (group (+ (not "=")))
"="
(or (and "$'" (group (* (not "'"))) "'")
(group (* any)))
eol)
nil t)
(let ((var (match-string 1))
(val (or (match-string 2)
(match-string 3))))
(setenv var val)))))
(let ((blacklist '("TERM")))
(with-temp-buffer
(shell-command "systemctl --user show-environment" (current-buffer))
(goto-char (point-min))
(while (re-search-forward
(rx bol (group (+ (not "=")))
"="
(or (and "$'" (group (* (not "'"))) "'")
(group (* any)))
eol)
nil t)
(let ((var (match-string 1))
(val (or (match-string 2)
(match-string 3))))
(unless (member var blacklist)
(setenv var val)))))))
(provide 'syd/prelude)
@@ -20,7 +20,8 @@
:load-buffer #'geiser-eval-buffer)
(syd-push
shackle-rules
`("*Geiser Documentation*" ,@syd-help-popup-options)))
`("*Geiser Documentation*" ,@syd-help-popup-options)
`("*Geiser Debug*" ,@syd-help-popup-options)))
(use-package geiser-guile)
@@ -3,7 +3,6 @@
(require 'syd/base)
(use-package transient
:straight nil
:custom ((transient-history-file
(file-name-concat syd-data-dir "transient/history.el"))))
@@ -0,0 +1,14 @@
;; -*- lexical-binding: t; -*-
(require 'syd/base)
(require 'syd/lisp)
(use-package wat-mode
:mode "\\.wat\\'"
:straight (:type git
:host nil
:repo "https://git.deertopia.net/msyds/wat-mode.git")
:config
(add-hook 'wat-mode-hook #'syd-lisp-mode))
(provide 'syd/wasm)
+67
View File
@@ -0,0 +1,67 @@
{ config, lib, pkgs, ... }:
let cfg = config.sydnix.deertopia.beets;
in {
options.sydnix.deertopia.beets = {
enable = lib.mkEnableOption "Beets";
user = lib.mkOption {
default = "beets";
type = lib.types.str;
description = ''
Name of the user which owns the Beets database.
'';
};
group = lib.mkOption {
default = "beets";
type = lib.types.str;
description = ''
Name of the group which owns the Beets database.
'';
};
};
config = lib.mkIf cfg.enable {
users.users.${cfg.user} = {
description = "Beets";
isSystemUser = true;
inherit (cfg) group;
};
users.groups.${cfg.group} = {};
# Persist allowed directories.
sydnix.impermanence.directories = [
{
directory = "/var/lib/beets";
inherit (cfg) user group;
mode = "u=rwx,g=rwx,o=";
}
];
environment.systemPackages = [
pkgs.beets
];
environment.sessionVariables.BEETSDIR = "/var/lib/beets";
systemd.tmpfiles.settings."50-var-lib-beets-beets-yaml" = {
"/var/lib/beets/beets.yaml"."L+".argument =
lib.toString
(pkgs.writeText
"beets.yaml"
(lib.toJSON {
directory = "/media/library/music";
library = "/var/lib/beets/beets.db";
import = {
copy = true;
write = true;
incremental = true;
};
paths = {
default = "$albumartist/$album%aunique{} ($year)/$track $title";
singleton = "Non-Album/$artist/$title";
comp = "Compilations/$album%aunique{} ($year)/$title";
};
}));
};
};
}
+1 -1
View File
@@ -36,7 +36,7 @@ in {
# Mount our NAS's 'media' share.
fileSystems."/media" = {
# DNS is seemingly unavailable to the mount service.
device = "//192.168.68.62/media";
device = "//10.0.0.203/media";
mountPoint = "/media";
fsType = "cifs";
options = [
+4 -4
View File
@@ -4,10 +4,10 @@
config = {
networking.hosts = {
"100.95.131.43" = [ "whitepc" ];
"192.168.68.66" = [ "guix-rebound" "sydpc" ];
"192.168.68.79" = [ "deertopia" ];
"192.168.68.55" = [ "fruitbook" ];
"192.168.68.62" = [ "buffalo-nas" ];
"10.0.0.109" = [ "guix-rebound" "sydpc" ];
"10.0.0.248" = [ "deertopia" ];
"10.0.0.218" = [ "fruitbook" ];
"10.0.0.203" = [ "buffalo-nas" ];
};
};
}
+1
View File
@@ -18,6 +18,7 @@
"slskd"
# Can access Nixarr's media.
"media"
"beets"
];
initialHashedPassword =
"$y$j9T$aEFDDwdTZbAc6VQRXrkBJ0$K8wxTGTWDihyX1wxJ.ZMH//wmQFfrGGUkLkxIU0Lyq8";