diff --git a/system/core/boot.nix b/system/core/boot.nix index ed3cb44..e4bebb4 100644 --- a/system/core/boot.nix +++ b/system/core/boot.nix @@ -4,6 +4,7 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; boot.kernelPackages = pkgs.linuxPackages; + boot.kernelModules = [ "uinput" ]; system.nixos.label = "niri-v.1.1"; environment.pathsToLink = [ "/libexec" ]; } diff --git a/system/security/thinkpad.nix b/system/security/thinkpad.nix index 73644c4..e55de60 100644 --- a/system/security/thinkpad.nix +++ b/system/security/thinkpad.nix @@ -6,8 +6,4 @@ #tod.enable = true; #tod.driver = pkgs.libfprint-2-tod1-goodix; }; - - security.pam.services.greetd = { - fprintAuth = true; # Fingerprint via pam_fprintd - }; } diff --git a/system/services/default.nix b/system/services/default.nix index 57adcbc..1607265 100644 --- a/system/services/default.nix +++ b/system/services/default.nix @@ -24,7 +24,7 @@ in enable = true; compositor.name = "niri"; - #configHome = "/home/jashton"; + configHome = "/home/jashton"; }; programs.dms-shell = { @@ -36,7 +36,7 @@ in enableCalendarEvents = true; systemd = { - enable = true; + enable = false; restartIfChanged = true; }; diff --git a/system/services/settings.json b/system/services/settings.json deleted file mode 100644 index 51b4010..0000000 --- a/system/services/settings.json +++ /dev/null @@ -1,626 +0,0 @@ -{ - "currentThemeName": "custom", - "currentThemeCategory": "registry", - "customThemeFile": "/home/jashton/.config/DankMaterialShell/themes/amoledBlack/theme.json", - "registryThemeVariants": { - "amoledBlack": { - "dark": { - "flavor": "black", - "accent": "white" - } - } - }, - "matugenScheme": "scheme-vibrant", - "runUserMatugenTemplates": true, - "matugenTargetMonitor": "", - "popupTransparency": 1, - "dockTransparency": 1, - "widgetBackgroundColor": "sch", - "widgetColorMode": "colorful", - "controlCenterTileColorMode": "primary", - "buttonColorMode": "primary", - "cornerRadius": 30, - "niriLayoutGapsOverride": -1, - "niriLayoutRadiusOverride": -1, - "niriLayoutBorderSize": -1, - "hyprlandLayoutGapsOverride": -1, - "hyprlandLayoutRadiusOverride": -1, - "hyprlandLayoutBorderSize": -1, - "mangoLayoutGapsOverride": -1, - "mangoLayoutRadiusOverride": -1, - "mangoLayoutBorderSize": -1, - "use24HourClock": false, - "showSeconds": false, - "padHours12Hour": true, - "useFahrenheit": true, - "windSpeedUnit": "kmh", - "nightModeEnabled": false, - "animationSpeed": 4, - "customAnimationDuration": 65, - "syncComponentAnimationSpeeds": true, - "popoutAnimationSpeed": 1, - "popoutCustomAnimationDuration": 150, - "modalAnimationSpeed": 1, - "modalCustomAnimationDuration": 150, - "enableRippleEffects": true, - "blurEnabled": false, - "blurForegroundLayers": true, - "blurLayerOutlineOpacity": 0.12, - "blurBorderColor": "outline", - "blurBorderCustomColor": "#ffffff", - "blurBorderOpacity": 0.35, - "wallpaperFillMode": "Fill", - "blurredWallpaperLayer": false, - "blurWallpaperOnOverview": true, - "showLauncherButton": true, - "showWorkspaceSwitcher": true, - "showFocusedWindow": true, - "showWeather": true, - "showMusic": true, - "showClipboard": true, - "showCpuUsage": true, - "showMemUsage": true, - "showCpuTemp": true, - "showGpuTemp": true, - "selectedGpuIndex": 0, - "enabledGpuPciIds": [], - "showSystemTray": true, - "systemTrayIconTintMode": "primary", - "systemTrayIconTintSaturation": 50, - "systemTrayIconTintStrength": 135, - "showClock": true, - "showNotificationButton": true, - "showBattery": true, - "showControlCenterButton": true, - "showCapsLockIndicator": true, - "controlCenterShowNetworkIcon": true, - "controlCenterShowBluetoothIcon": true, - "controlCenterShowAudioIcon": true, - "controlCenterShowAudioPercent": false, - "controlCenterShowVpnIcon": true, - "controlCenterShowBrightnessIcon": false, - "controlCenterShowBrightnessPercent": false, - "controlCenterShowMicIcon": false, - "controlCenterShowMicPercent": true, - "controlCenterShowBatteryIcon": false, - "controlCenterShowPrinterIcon": false, - "controlCenterShowScreenSharingIcon": true, - "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, - "showWorkspaceName": false, - "showWorkspacePadding": false, - "workspaceScrolling": false, - "showWorkspaceApps": false, - "workspaceDragReorder": true, - "maxWorkspaceIcons": 3, - "workspaceAppIconSizeOffset": 0, - "groupWorkspaceApps": true, - "workspaceFollowFocus": false, - "showOccupiedWorkspacesOnly": true, - "reverseScrolling": false, - "dwlShowAllTags": false, - "workspaceColorMode": "default", - "workspaceOccupiedColorMode": "none", - "workspaceUnfocusedColorMode": "default", - "workspaceUrgentColorMode": "default", - "workspaceFocusedBorderEnabled": false, - "workspaceFocusedBorderColor": "secondary", - "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": true, - "runningAppsGroupByApp": false, - "runningAppsCurrentMonitor": false, - "appIdSubstitutions": [], - "centeringMode": "index", - "clockDateFormat": "", - "lockDateFormat": "", - "greeterRememberLastSession": true, - "greeterRememberLastUser": true, - "greeterEnableFprint": false, - "greeterEnableU2f": false, - "greeterWallpaperPath": "", - "mediaSize": 1, - "appLauncherViewMode": "list", - "spotlightModalViewMode": "list", - "browserPickerViewMode": "grid", - "browserUsageHistory": {}, - "appPickerViewMode": "grid", - "filePickerUsageHistory": {}, - "sortAppsAlphabetically": true, - "appLauncherGridColumns": 8, - "spotlightCloseNiriOverview": true, - "spotlightSectionViewModes": {}, - "appDrawerSectionViewModes": { - "apps": "grid" - }, - "niriOverviewOverlayEnabled": true, - "dankLauncherV2Size": "large", - "dankLauncherV2BorderEnabled": false, - "dankLauncherV2BorderThickness": 2, - "dankLauncherV2BorderColor": "secondary", - "dankLauncherV2ShowFooter": true, - "dankLauncherV2UnloadOnClose": false, - "useAutoLocation": false, - "weatherEnabled": true, - "networkPreference": "auto", - "iconTheme": "System Default", - "cursorSettings": { - "theme": "System Default", - "size": 24, - "niri": { - "hideWhenTyping": false, - "hideAfterInactiveMs": 0 - }, - "hyprland": { - "hideOnKeyPress": false, - "hideOnTouch": false, - "inactiveTimeout": 0 - }, - "dwl": { - "cursorHideTimeout": 0 - } - }, - "launcherLogoMode": "os", - "launcherLogoCustomPath": "", - "launcherLogoColorOverride": "primary", - "launcherLogoColorInvertOnMode": false, - "launcherLogoBrightness": 0.5, - "launcherLogoContrast": 1, - "launcherLogoSizeOffset": 12, - "fontFamily": "Inter Variable", - "monoFontFamily": "Hack Nerd Font Mono", - "fontWeight": 400, - "fontScale": 1, - "notepadUseMonospace": true, - "notepadFontFamily": "", - "notepadFontSize": 14, - "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": true, - "dockSmartAutoHide": false, - "dockGroupByApp": false, - "dockOpenOnOverview": false, - "dockPosition": 0, - "dockSpacing": 4, - "dockBottomGap": 0, - "dockMargin": 0, - "dockIconSize": 40, - "dockIndicatorStyle": "circle", - "dockBorderEnabled": false, - "dockBorderColor": "surfaceText", - "dockBorderOpacity": 1, - "dockBorderThickness": 1, - "dockIsolateDisplays": false, - "dockLauncherEnabled": false, - "dockLauncherLogoMode": "apps", - "dockLauncherLogoCustomPath": "", - "dockLauncherLogoColorOverride": "", - "dockLauncherLogoSizeOffset": 0, - "dockLauncherLogoBrightness": 0.5, - "dockLauncherLogoContrast": 1, - "dockMaxVisibleApps": 0, - "dockMaxVisibleRunningApps": 0, - "dockShowOverflowBadge": true, - "notificationOverlayEnabled": true, - "notificationPopupShadowEnabled": true, - "notificationPopupPrivacyMode": true, - "modalDarkenBackground": true, - "lockScreenShowPowerActions": true, - "lockScreenShowSystemIcons": true, - "lockScreenShowTime": true, - "lockScreenShowDate": true, - "lockScreenShowProfileImage": true, - "lockScreenShowPasswordField": true, - "lockScreenShowMediaPlayer": true, - "lockScreenPowerOffMonitorsOnLock": false, - "lockAtStartup": false, - "enableFprint": true, - "maxFprintTries": 15, - "enableU2f": false, - "u2fMode": "or", - "lockScreenActiveMonitor": "all", - "lockScreenInactiveColor": "#000000", - "lockScreenNotificationMode": 2, - "hideBrightnessSlider": false, - "notificationTimeoutLow": 5000, - "notificationTimeoutNormal": 5000, - "notificationTimeoutCritical": 0, - "notificationCompactMode": true, - "notificationPopupPosition": 2, - "notificationAnimationSpeed": 1, - "notificationCustomAnimationDuration": 400, - "notificationHistoryEnabled": true, - "notificationHistoryMaxCount": 200, - "notificationHistoryMaxAgeDays": 30, - "notificationHistorySaveLow": true, - "notificationHistorySaveNormal": true, - "notificationHistorySaveCritical": true, - "notificationRules": [], - "osdAlwaysShowValue": false, - "osdPosition": 6, - "osdVolumeEnabled": true, - "osdMediaVolumeEnabled": true, - "osdMediaPlaybackEnabled": true, - "osdBrightnessEnabled": true, - "osdIdleInhibitorEnabled": true, - "osdMicMuteEnabled": true, - "osdCapsLockEnabled": true, - "osdPowerProfileEnabled": true, - "osdAudioOutputEnabled": true, - "powerActionConfirm": true, - "powerActionHoldDuration": 0.5, - "powerMenuActions": [ - "reboot", - "logout", - "poweroff", - "lock", - "suspend", - "restart" - ], - "powerMenuDefaultAction": "logout", - "powerMenuGridLayout": false, - "customPowerActionLock": "", - "customPowerActionLogout": "", - "customPowerActionSuspend": "", - "customPowerActionHibernate": "", - "customPowerActionReboot": "", - "customPowerActionPowerOff": "", - "updaterHideWidget": false, - "updaterUseCustomCommand": false, - "updaterCustomCommand": "", - "updaterTerminalAdditionalParams": "", - "displayNameMode": "system", - "screenPreferences": {}, - "showOnLastDisplay": {}, - "niriOutputSettings": {}, - "hyprlandOutputSettings": {}, - "displayProfiles": {}, - "activeDisplayProfile": {}, - "displayProfileAutoSelect": false, - "displayShowDisconnected": false, - "displaySnapToEdge": true, - "barConfigs": [ - { - "id": "default", - "name": "Main Bar", - "enabled": true, - "position": 2, - "screenPreferences": [ - "all" - ], - "showOnLastDisplay": true, - "leftWidgets": [ - { - "id": "powerMenuButton", - "enabled": true - }, - { - "id": "privacyIndicator", - "enabled": true - }, - { - "id": "separator", - "enabled": true - }, - { - "id": "clock", - "enabled": true - }, - { - "id": "weather", - "enabled": true - }, - { - "id": "separator", - "enabled": true - }, - { - "id": "controlCenterButton", - "enabled": true, - "showNetworkIcon": true, - "showBluetoothIcon": true, - "showAudioIcon": true, - "showAudioPercent": false, - "showVpnIcon": true, - "showBrightnessIcon": false, - "showBrightnessPercent": false, - "showMicIcon": false, - "showMicPercent": true, - "showBatteryIcon": false, - "showPrinterIcon": false, - "showScreenSharingIcon": true - }, - { - "id": "notificationButton", - "enabled": true - }, - { - "id": "clipboard", - "enabled": true - } - ], - "centerWidgets": [ - { - "id": "workspaceSwitcher", - "enabled": true - } - ], - "rightWidgets": [ - { - "id": "music", - "enabled": true - }, - { - "id": "clipboard", - "enabled": true - }, - { - "id": "notepadButton", - "enabled": true - }, - { - "id": "spacer", - "enabled": true, - "size": 5 - }, - { - "id": "separator", - "enabled": true - }, - { - "id": "spacer", - "enabled": true, - "size": 5 - }, - { - "id": "launcherButton", - "enabled": true - } - ], - "spacing": 0, - "innerPadding": 15, - "bottomGap": 0, - "transparency": 0.77, - "widgetTransparency": 1, - "squareCorners": true, - "noBackground": true, - "maximizeWidgetIcons": false, - "maximizeWidgetText": false, - "removeWidgetPadding": false, - "widgetPadding": 4, - "gothCornersEnabled": true, - "gothCornerRadiusOverride": false, - "gothCornerRadiusValue": 12, - "borderEnabled": false, - "borderColor": "surfaceText", - "borderOpacity": 1, - "borderThickness": 1, - "widgetOutlineEnabled": false, - "widgetOutlineColor": "primary", - "widgetOutlineOpacity": 1, - "widgetOutlineThickness": 1, - "fontScale": 1, - "iconScale": 1, - "autoHide": false, - "autoHideDelay": 250, - "showOnWindowsOpen": false, - "openOnOverview": false, - "visible": true, - "popupGapsAuto": true, - "popupGapsManual": 4, - "maximizeDetection": true, - "scrollEnabled": true, - "scrollXBehavior": "column", - "scrollYBehavior": "workspace", - "shadowIntensity": 0, - "shadowOpacity": 60, - "shadowColorMode": "text", - "shadowCustomColor": "#000000", - "clickThrough": false - } - ], - "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": { - "dms_settings_search": { - "trigger": "?" - } - }, - "clipboardEnterToPaste": false, - "launcherPluginVisibility": {}, - "launcherPluginOrder": [], - "configVersion": 5 -} \ No newline at end of file