From 5197212d0981d1ba01406d75f296a1212fbdc4d6 Mon Sep 17 00:00:00 2001 From: xbazzi Date: Sat, 16 Aug 2025 19:30:55 -0600 Subject: [PATCH] Bunch o stuff --- flake.lock | 30 +-- home/config.json | 534 +++++++++++++++++++++++++++++++++++++++ home/default.nix | 2 + home/desktop-env.nix | 142 +++++++++++ home/fzf.nix | 7 + home/hypridle.nix | 13 +- home/hyprland.nix | 23 +- home/hyprpanel2.nix | 18 +- home/hyprpaper.nix | 5 +- home/kitty.nix | 8 + home/starship.nix | 39 ++- home/starship.toml | 1 + system/configuration.nix | 25 +- system/default.nix | 2 + system/ghub.nix | 30 +++ system/nfs.nix | 13 + system/sddm.nix | 63 +++++ system/vscode.nix | 2 + 18 files changed, 905 insertions(+), 52 deletions(-) create mode 100644 home/config.json create mode 100644 home/desktop-env.nix create mode 100644 home/fzf.nix create mode 120000 home/starship.toml create mode 100644 system/ghub.nix create mode 100644 system/sddm.nix diff --git a/flake.lock b/flake.lock index edfeb71..f1d9a4a 100755 --- a/flake.lock +++ b/flake.lock @@ -294,11 +294,11 @@ ] }, "locked": { - "lastModified": 1754886238, - "narHash": "sha256-LTQomWOwG70lZR+78ZYSZ9sYELWNq3HJ7/tdHzfif/s=", + "lastModified": 1755313937, + "narHash": "sha256-pQb7bNcolxYGRiylUCrTddiF+qW2wsUiM9+eRIDUrVU=", "owner": "nix-community", "repo": "home-manager", - "rev": "0d492b89d1993579e63b9dbdaed17fd7824834da", + "rev": "2a749f4790a14f7168be67cdf6e548ef1c944e10", "type": "github" }, "original": { @@ -413,11 +413,11 @@ ] }, "locked": { - "lastModified": 1754766309, - "narHash": "sha256-pANfQZ22RNF6sCFxrMahjE70v/HbGfA4lPZ7pTmfwUQ=", + "lastModified": 1755183521, + "narHash": "sha256-wrP8TM2lb2x0+PyTc7Uc3yfVBeIlYW7+hFeG14N9Cr8=", "owner": "hyprwm", "repo": "hyprland-plugins", - "rev": "833af8e8c6f035a53a167aff59e5e85bf0386d93", + "rev": "c1ddebb423acc7c88653c04de5ddafee64dac89a", "type": "github" }, "original": { @@ -692,11 +692,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1754725699, - "narHash": "sha256-iAcj9T/Y+3DBy2J0N+yF9XQQQ8IEb5swLFzs23CdP88=", + "lastModified": 1755186698, + "narHash": "sha256-wNO3+Ks2jZJ4nTHMuks+cxAiVBGNuEBXsT29Bz6HASo=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "85dbfc7aaf52ecb755f87e577ddbe6dbbdbc1054", + "rev": "fbcf476f790d8a217c3eab4e12033dc4a0f6d23c", "type": "github" }, "original": { @@ -708,11 +708,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1754725699, - "narHash": "sha256-iAcj9T/Y+3DBy2J0N+yF9XQQQ8IEb5swLFzs23CdP88=", + "lastModified": 1755186698, + "narHash": "sha256-wNO3+Ks2jZJ4nTHMuks+cxAiVBGNuEBXsT29Bz6HASo=", "owner": "nixos", "repo": "nixpkgs", - "rev": "85dbfc7aaf52ecb755f87e577ddbe6dbbdbc1054", + "rev": "fbcf476f790d8a217c3eab4e12033dc4a0f6d23c", "type": "github" }, "original": { @@ -850,11 +850,11 @@ "tinted-zed": "tinted-zed" }, "locked": { - "lastModified": 1754851076, - "narHash": "sha256-k3+/24lN6E9BFRhryHocm7314t0Wtku0hgIdEWi15XI=", + "lastModified": 1755378131, + "narHash": "sha256-0GKZEzTUcaoama56xaagKnMk5hqMbTUfGF4KfzLwje4=", "owner": "danth", "repo": "stylix", - "rev": "afcfed6fd2a51615cd63aa7fa7608d670e7b61e5", + "rev": "82242e0f9b1d91b6f170807a6ec622cfdb816eac", "type": "github" }, "original": { diff --git a/home/config.json b/home/config.json new file mode 100644 index 0000000..e5bdd9c --- /dev/null +++ b/home/config.json @@ -0,0 +1,534 @@ +{ + "bar": { + "autoHide": "never", + "clock": { + "format": "%a %b %d %I:%M:%S %p" + }, + "customModules": { + "hypridle": { + "isActiveCommand": "systemctl --user status hypridle.service | grep -q 'Active: active (running)' && echo 'yes' || echo 'no'", + "startCommand": "systemctl --user start hypridle.service", + "stopCommand": "systemctl --user stop hypridle.service" + }, + "hyprsunset": { + "temperature": "4000K" + }, + "netstat": { + "label": true, + "leftClick": "nm-applet", + "networkInterface": "enp6s0f0" + }, + "storage": { + "paths": [ + "/" + ] + } + }, + "launcher": { + "autoDetectIcon": true + }, + "layouts": { + "0": { + "left": [], + "middle": [], + "right": [] + }, + "1": { + "left": [], + "middle": [], + "right": [] + }, + "2": { + "left": [ + "dashboard", + "workspaces", + "media", + "volume" + ], + "middle": [ + "clock" + ], + "right": [ + "systray", + "netstat", + "hyprsunset", + "hypridle", + "notifications" + ] + } + }, + "network": { + "label": true, + "showWifiInfo": true, + "truncation": true, + "truncation_size": 6 + }, + "workspaces": { + "identifier": true, + "showAllActive": true, + "showApplicationIcons": true, + "showWsIcons": true, + "show_icons": true, + "show_numbered": false, + "workspaceMask": false + } + }, + "menus": { + "clock": { + "time": { + "hideSeconds": false, + "military": true + } + }, + "dashboard": { + "controls": { + "enabled": true + } + }, + "media": { + "displayTimeTooltip": true, + "noMediaText": "Nathan rn" + } + }, + "theme": { + "bar": { + "border": { + "location": "none", + "width": "0.15em" + }, + "buttons": { + "borderSize": "0.02em", + "clock": { + "enableBorder": false + }, + "enableBorders": false, + "modules": { + "cava": { + "enableBorder": true + }, + "hypridle": { + "enableBorder": true + }, + "netstat": { + "enableBorder": false, + "spacing": "0.45em" + } + }, + "monochrome": false, + "network": { + "enableBorder": true + }, + "style": "wave", + "systray": { + "enableBorder": false + }, + "windowtitle": { + "icon": "#00ff19", + "text": "#00d0d0" + }, + "workspaces": { + "active": "#05ff00", + "numbered_active_underline_color": "#00d0d0", + "occupied": "#00d0d0" + } + }, + "floating": false, + "location": "bottom", + "menus": { + "menu": { + "media": { + "artist": "#50ff00", + "slider": { + "primary": "#00e2c5" + } + } + } + }, + "opacity": 90, + "transparent": false + }, + "font": { + "label": "Monaspace Krypton Medium", + "name": "Monaspace Krypton" + }, + "matugen": false, + "osd": { + "enable": true + } + }, + "theme.bar.background": "#2e3440", + "theme.bar.border.color": "#88c0d0", + "theme.bar.buttons.background": "#3b4252", + "theme.bar.buttons.battery.background": "#81a1c1", + "theme.bar.buttons.battery.border": "#81a1c1", + "theme.bar.buttons.battery.icon": "#3b4252", + "theme.bar.buttons.battery.icon_background": "#81a1c1", + "theme.bar.buttons.battery.text": "#3b4252", + "theme.bar.buttons.bluetooth.background": "#88c0d0", + "theme.bar.buttons.bluetooth.border": "#88c0d0", + "theme.bar.buttons.bluetooth.icon": "#3b4252", + "theme.bar.buttons.bluetooth.icon_background": "#89dbeb", + "theme.bar.buttons.bluetooth.text": "#3b4252", + "theme.bar.buttons.borderColor": "#88c0d0", + "theme.bar.buttons.clock.background": "#8fbcbb", + "theme.bar.buttons.clock.border": "#8fbcbb", + "theme.bar.buttons.clock.icon": "#3b4252", + "theme.bar.buttons.clock.icon_background": "#8fbcbb", + "theme.bar.buttons.clock.text": "#3b4252", + "theme.bar.buttons.dashboard.background": "#81a1c1", + "theme.bar.buttons.dashboard.border": "#81a1c1", + "theme.bar.buttons.dashboard.icon": "#3b4252", + "theme.bar.buttons.hover": "#434c53", + "theme.bar.buttons.icon": "#88c0d0", + "theme.bar.buttons.icon_background": "#3b4252", + "theme.bar.buttons.media.background": "#88c0d0", + "theme.bar.buttons.media.border": "#88c0d0", + "theme.bar.buttons.media.icon": "#3b4252", + "theme.bar.buttons.media.icon_background": "#88c0d0", + "theme.bar.buttons.media.text": "#3b4252", + "theme.bar.buttons.modules.cava.background": "#8fbcbb", + "theme.bar.buttons.modules.cava.border": "#8fbcbb", + "theme.bar.buttons.modules.cava.icon": "#3b4252", + "theme.bar.buttons.modules.cava.icon_background": "#3b4252", + "theme.bar.buttons.modules.cava.text": "#3b4252", + "theme.bar.buttons.modules.cpu.background": "#8fbcbb", + "theme.bar.buttons.modules.cpu.border": "#8fbcbb", + "theme.bar.buttons.modules.cpu.icon": "#3b4252", + "theme.bar.buttons.modules.cpu.icon_background": "#8fbcbb", + "theme.bar.buttons.modules.cpu.text": "#3b4252", + "theme.bar.buttons.modules.hypridle.background": "#8fbcbb", + "theme.bar.buttons.modules.hypridle.border": "#8fbcbb", + "theme.bar.buttons.modules.hypridle.icon": "#3b4252", + "theme.bar.buttons.modules.hypridle.icon_background": "#8fbcbb", + "theme.bar.buttons.modules.hypridle.text": "#3b4252", + "theme.bar.buttons.modules.hyprsunset.background": "#8fbcbb", + "theme.bar.buttons.modules.hyprsunset.border": "#8fbcbb", + "theme.bar.buttons.modules.hyprsunset.icon": "#3b4252", + "theme.bar.buttons.modules.hyprsunset.icon_background": "#8fbcbb", + "theme.bar.buttons.modules.hyprsunset.text": "#3b4252", + "theme.bar.buttons.modules.kbLayout.background": "#88c0d0", + "theme.bar.buttons.modules.kbLayout.border": "#88c0d0", + "theme.bar.buttons.modules.kbLayout.icon": "#3b4252", + "theme.bar.buttons.modules.kbLayout.icon_background": "#88c0d0", + "theme.bar.buttons.modules.kbLayout.text": "#3b4252", + "theme.bar.buttons.modules.microphone.background": "#8fbcbb", + "theme.bar.buttons.modules.microphone.border": "#8fbcbb", + "theme.bar.buttons.modules.microphone.icon": "#3b4252", + "theme.bar.buttons.modules.microphone.icon_background": "#8fbcbb", + "theme.bar.buttons.modules.microphone.text": "#3b4252", + "theme.bar.buttons.modules.netstat.background": "#8fbcbb", + "theme.bar.buttons.modules.netstat.border": "#8fbcbb", + "theme.bar.buttons.modules.netstat.icon": "#3b4252", + "theme.bar.buttons.modules.netstat.icon_background": "#8fbcbb", + "theme.bar.buttons.modules.netstat.text": "#3b4252", + "theme.bar.buttons.modules.power.background": "#8fbcbb", + "theme.bar.buttons.modules.power.border": "#8fbcbb", + "theme.bar.buttons.modules.power.icon": "#3b4252", + "theme.bar.buttons.modules.power.icon_background": "#8fbcbb", + "theme.bar.buttons.modules.ram.background": "#81a1c1", + "theme.bar.buttons.modules.ram.border": "#81a1c1", + "theme.bar.buttons.modules.ram.icon": "#3b4252", + "theme.bar.buttons.modules.ram.icon_background": "#81a1c1", + "theme.bar.buttons.modules.ram.text": "#3b4252", + "theme.bar.buttons.modules.storage.background": "#8fbcbb", + "theme.bar.buttons.modules.storage.border": "#8fbcbb", + "theme.bar.buttons.modules.storage.icon": "#3b4252", + "theme.bar.buttons.modules.storage.icon_background": "#8fbcbb", + "theme.bar.buttons.modules.storage.text": "#3b4252", + "theme.bar.buttons.modules.submap.background": "#8fbcbb", + "theme.bar.buttons.modules.submap.border": "#8fbcbb", + "theme.bar.buttons.modules.submap.icon": "#3b4252", + "theme.bar.buttons.modules.submap.icon_background": "#3b4252", + "theme.bar.buttons.modules.submap.text": "#3b4252", + "theme.bar.buttons.modules.updates.background": "#88c0d0", + "theme.bar.buttons.modules.updates.border": "#88c0d0", + "theme.bar.buttons.modules.updates.icon": "#3b4252", + "theme.bar.buttons.modules.updates.icon_background": "#88c0d0", + "theme.bar.buttons.modules.updates.text": "#3b4252", + "theme.bar.buttons.modules.weather.background": "#88c0d0", + "theme.bar.buttons.modules.weather.border": "#88c0d0", + "theme.bar.buttons.modules.weather.icon": "#3b4252", + "theme.bar.buttons.modules.weather.icon_background": "#88c0d0", + "theme.bar.buttons.modules.weather.text": "#3b4252", + "theme.bar.buttons.modules.worldclock.background": "#8fbcbb", + "theme.bar.buttons.modules.worldclock.border": "#8fbcbb", + "theme.bar.buttons.modules.worldclock.icon": "#3b4252", + "theme.bar.buttons.modules.worldclock.icon_background": "#8fbcbb", + "theme.bar.buttons.modules.worldclock.text": "#3b4252", + "theme.bar.buttons.network.background": "#88c0d0", + "theme.bar.buttons.network.border": "#88c0d0", + "theme.bar.buttons.network.icon": "#3b4252", + "theme.bar.buttons.network.icon_background": "#caa6f7", + "theme.bar.buttons.network.text": "#3b4252", + "theme.bar.buttons.notifications.background": "#88c0d0", + "theme.bar.buttons.notifications.border": "#88c0d0", + "theme.bar.buttons.notifications.icon": "#3b4252", + "theme.bar.buttons.notifications.icon_background": "#88c0d0", + "theme.bar.buttons.notifications.total": "#3b4252", + "theme.bar.buttons.style": "wave", + "theme.bar.buttons.systray.background": "#3b4252", + "theme.bar.buttons.systray.border": "#434c53", + "theme.bar.buttons.systray.customIcon": "#d8dee9", + "theme.bar.buttons.text": "#88c0d0", + "theme.bar.buttons.volume.background": "#81a1c1", + "theme.bar.buttons.volume.border": "#81a1c1", + "theme.bar.buttons.volume.icon": "#3b4252", + "theme.bar.buttons.volume.icon_background": "#81a1c1", + "theme.bar.buttons.volume.text": "#3b4252", + "theme.bar.buttons.windowtitle.background": "#8fbcbb", + "theme.bar.buttons.windowtitle.border": "#8fbcbb", + "theme.bar.buttons.windowtitle.icon": "#3b4252", + "theme.bar.buttons.windowtitle.icon_background": "#8fbcbb", + "theme.bar.buttons.windowtitle.text": "#3b4252", + "theme.bar.buttons.workspaces.active": "#8fbcbb", + "theme.bar.buttons.workspaces.available": "#88c0d0", + "theme.bar.buttons.workspaces.background": "#3b4252", + "theme.bar.buttons.workspaces.border": "#2e3440", + "theme.bar.buttons.workspaces.hover": "#434c53", + "theme.bar.buttons.workspaces.numbered_active_highlighted_text_color": "#21252b", + "theme.bar.buttons.workspaces.numbered_active_underline_color": "#ffffff", + "theme.bar.buttons.workspaces.occupied": "#81a1c1", + "theme.bar.menus.background": "#2e3440", + "theme.bar.menus.border.color": "#434c53", + "theme.bar.menus.buttons.active": "#8fbcbb", + "theme.bar.menus.buttons.default": "#88c0d0", + "theme.bar.menus.buttons.disabled": "#434c53", + "theme.bar.menus.buttons.text": "#2e3440", + "theme.bar.menus.cards": "#3b4252", + "theme.bar.menus.check_radio_button.active": "#88c0d0", + "theme.bar.menus.check_radio_button.background": "#2e3440", + "theme.bar.menus.dimtext": "#6272a4", + "theme.bar.menus.dropdownmenu.background": "#2e3440", + "theme.bar.menus.dropdownmenu.divider": "#3b4252", + "theme.bar.menus.dropdownmenu.text": "#d8dee9", + "theme.bar.menus.feinttext": "#434c53", + "theme.bar.menus.iconbuttons.active": "#88c0d0", + "theme.bar.menus.iconbuttons.passive": "#d8dee9", + "theme.bar.menus.icons.active": "#88c0d0", + "theme.bar.menus.icons.passive": "#434c53", + "theme.bar.menus.label": "#88c0d0", + "theme.bar.menus.listitems.active": "#88c0d0", + "theme.bar.menus.listitems.passive": "#d8dee9", + "theme.bar.menus.menu.battery.background.color": "#2e3440", + "theme.bar.menus.menu.battery.border.color": "#434c53", + "theme.bar.menus.menu.battery.card.color": "#3b4252", + "theme.bar.menus.menu.battery.icons.active": "#81a1c1", + "theme.bar.menus.menu.battery.icons.passive": "#5e81ac", + "theme.bar.menus.menu.battery.label.color": "#81a1c1", + "theme.bar.menus.menu.battery.listitems.active": "#81a1c1", + "theme.bar.menus.menu.battery.listitems.passive": "#d8dee9", + "theme.bar.menus.menu.battery.slider.background": "#434c53", + "theme.bar.menus.menu.battery.slider.backgroundhover": "#434c53", + "theme.bar.menus.menu.battery.slider.primary": "#81a1c1", + "theme.bar.menus.menu.battery.slider.puck": "#4c566a", + "theme.bar.menus.menu.battery.text": "#d8dee9", + "theme.bar.menus.menu.bluetooth.background.color": "#2e3440", + "theme.bar.menus.menu.bluetooth.border.color": "#434c53", + "theme.bar.menus.menu.bluetooth.card.color": "#3b4252", + "theme.bar.menus.menu.bluetooth.iconbutton.active": "#88c0d0", + "theme.bar.menus.menu.bluetooth.iconbutton.passive": "#d8dee9", + "theme.bar.menus.menu.bluetooth.icons.active": "#88c0d0", + "theme.bar.menus.menu.bluetooth.icons.passive": "#5e81ac", + "theme.bar.menus.menu.bluetooth.label.color": "#88c0d0", + "theme.bar.menus.menu.bluetooth.listitems.active": "#88c0d0", + "theme.bar.menus.menu.bluetooth.listitems.passive": "#d8dee9", + "theme.bar.menus.menu.bluetooth.scroller.color": "#88c0d0", + "theme.bar.menus.menu.bluetooth.status": "#4c566a", + "theme.bar.menus.menu.bluetooth.switch.disabled": "#434c53", + "theme.bar.menus.menu.bluetooth.switch.enabled": "#88c0d0", + "theme.bar.menus.menu.bluetooth.switch.puck": "#434c53", + "theme.bar.menus.menu.bluetooth.switch_divider": "#434c53", + "theme.bar.menus.menu.bluetooth.text": "#d8dee9", + "theme.bar.menus.menu.clock.background.color": "#2e3440", + "theme.bar.menus.menu.clock.border.color": "#434c53", + "theme.bar.menus.menu.clock.calendar.contextdays": "#434c53", + "theme.bar.menus.menu.clock.calendar.currentday": "#8fbcbb", + "theme.bar.menus.menu.clock.calendar.days": "#d8dee9", + "theme.bar.menus.menu.clock.calendar.paginator": "#8fbcbb", + "theme.bar.menus.menu.clock.calendar.weekdays": "#8fbcbb", + "theme.bar.menus.menu.clock.calendar.yearmonth": "#8fbcbb", + "theme.bar.menus.menu.clock.card.color": "#3b4252", + "theme.bar.menus.menu.clock.text": "#d8dee9", + "theme.bar.menus.menu.clock.time.time": "#8fbcbb", + "theme.bar.menus.menu.clock.time.timeperiod": "#8fbcbb", + "theme.bar.menus.menu.clock.weather.hourly.icon": "#8fbcbb", + "theme.bar.menus.menu.clock.weather.hourly.temperature": "#8fbcbb", + "theme.bar.menus.menu.clock.weather.hourly.time": "#8fbcbb", + "theme.bar.menus.menu.clock.weather.icon": "#8fbcbb", + "theme.bar.menus.menu.clock.weather.stats": "#8fbcbb", + "theme.bar.menus.menu.clock.weather.status": "#8fbcbb", + "theme.bar.menus.menu.clock.weather.temperature": "#d8dee9", + "theme.bar.menus.menu.clock.weather.thermometer.cold": "#88c0d0", + "theme.bar.menus.menu.clock.weather.thermometer.extremelycold": "#88c0d0", + "theme.bar.menus.menu.clock.weather.thermometer.extremelyhot": "#8fbcbb", + "theme.bar.menus.menu.clock.weather.thermometer.hot": "#81a1c1", + "theme.bar.menus.menu.clock.weather.thermometer.moderate": "#88c0d0", + "theme.bar.menus.menu.dashboard.background.color": "#2e3440", + "theme.bar.menus.menu.dashboard.border.color": "#434c53", + "theme.bar.menus.menu.dashboard.card.color": "#3b4252", + "theme.bar.menus.menu.dashboard.controls.bluetooth.background": "#88c0d0", + "theme.bar.menus.menu.dashboard.controls.bluetooth.text": "#2e3440", + "theme.bar.menus.menu.dashboard.controls.disabled": "#434c53", + "theme.bar.menus.menu.dashboard.controls.input.background": "#8fbcbb", + "theme.bar.menus.menu.dashboard.controls.input.text": "#2e3440", + "theme.bar.menus.menu.dashboard.controls.notifications.background": "#81a1c1", + "theme.bar.menus.menu.dashboard.controls.notifications.text": "#2e3440", + "theme.bar.menus.menu.dashboard.controls.volume.background": "#81a1c1", + "theme.bar.menus.menu.dashboard.controls.volume.text": "#2e3440", + "theme.bar.menus.menu.dashboard.controls.wifi.background": "#88c0d0", + "theme.bar.menus.menu.dashboard.controls.wifi.text": "#2e3440", + "theme.bar.menus.menu.dashboard.directories.left.bottom.color": "#81a1c1", + "theme.bar.menus.menu.dashboard.directories.left.middle.color": "#81a1c1", + "theme.bar.menus.menu.dashboard.directories.left.top.color": "#8fbcbb", + "theme.bar.menus.menu.dashboard.directories.right.bottom.color": "#88c0d0", + "theme.bar.menus.menu.dashboard.directories.right.middle.color": "#88c0d0", + "theme.bar.menus.menu.dashboard.directories.right.top.color": "#8fbcbb", + "theme.bar.menus.menu.dashboard.monitors.bar_background": "#434c53", + "theme.bar.menus.menu.dashboard.monitors.cpu.bar": "#81a1c1", + "theme.bar.menus.menu.dashboard.monitors.cpu.icon": "#81a1c1", + "theme.bar.menus.menu.dashboard.monitors.cpu.label": "#81a1c1", + "theme.bar.menus.menu.dashboard.monitors.disk.bar": "#8fbcbb", + "theme.bar.menus.menu.dashboard.monitors.disk.icon": "#8fbcbb", + "theme.bar.menus.menu.dashboard.monitors.disk.label": "#8fbcbb", + "theme.bar.menus.menu.dashboard.monitors.gpu.bar": "#8fbcbb", + "theme.bar.menus.menu.dashboard.monitors.gpu.icon": "#8fbcbb", + "theme.bar.menus.menu.dashboard.monitors.gpu.label": "#8fbcbb", + "theme.bar.menus.menu.dashboard.monitors.ram.bar": "#81a1c1", + "theme.bar.menus.menu.dashboard.monitors.ram.icon": "#81a1c1", + "theme.bar.menus.menu.dashboard.monitors.ram.label": "#81a1c1", + "theme.bar.menus.menu.dashboard.powermenu.confirmation.background": "#2e3440", + "theme.bar.menus.menu.dashboard.powermenu.confirmation.body": "#d8dee9", + "theme.bar.menus.menu.dashboard.powermenu.confirmation.border": "#434c53", + "theme.bar.menus.menu.dashboard.powermenu.confirmation.button_text": "#2e3440", + "theme.bar.menus.menu.dashboard.powermenu.confirmation.card": "#3b4252", + "theme.bar.menus.menu.dashboard.powermenu.confirmation.confirm": "#8fbcbb", + "theme.bar.menus.menu.dashboard.powermenu.confirmation.deny": "#8fbcbb", + "theme.bar.menus.menu.dashboard.powermenu.confirmation.label": "#88c0d0", + "theme.bar.menus.menu.dashboard.powermenu.logout": "#8fbcbb", + "theme.bar.menus.menu.dashboard.powermenu.restart": "#81a1c1", + "theme.bar.menus.menu.dashboard.powermenu.shutdown": "#8fbcbb", + "theme.bar.menus.menu.dashboard.powermenu.sleep": "#88c0d0", + "theme.bar.menus.menu.dashboard.profile.name": "#8fbcbb", + "theme.bar.menus.menu.dashboard.shortcuts.background": "#88c0d0", + "theme.bar.menus.menu.dashboard.shortcuts.recording": "#8fbcbb", + "theme.bar.menus.menu.dashboard.shortcuts.text": "#2e3440", + "theme.bar.menus.menu.media.album": "#8fbcbb", + "theme.bar.menus.menu.media.artist": "#8fbcbb", + "theme.bar.menus.menu.media.background.color": "#2e3440", + "theme.bar.menus.menu.media.border.color": "#434c53", + "theme.bar.menus.menu.media.buttons.background": "#88c0d0", + "theme.bar.menus.menu.media.buttons.enabled": "#8fbcbb", + "theme.bar.menus.menu.media.buttons.inactive": "#434c53", + "theme.bar.menus.menu.media.buttons.text": "#2e3440", + "theme.bar.menus.menu.media.card.color": "#3b4252", + "theme.bar.menus.menu.media.slider.background": "#434c53", + "theme.bar.menus.menu.media.slider.backgroundhover": "#434c53", + "theme.bar.menus.menu.media.slider.primary": "#8fbcbb", + "theme.bar.menus.menu.media.slider.puck": "#4c566a", + "theme.bar.menus.menu.media.song": "#88c0d0", + "theme.bar.menus.menu.media.timestamp": "#d8dee9", + "theme.bar.menus.menu.network.background.color": "#2e3440", + "theme.bar.menus.menu.network.border.color": "#434c53", + "theme.bar.menus.menu.network.card.color": "#3b4252", + "theme.bar.menus.menu.network.iconbuttons.active": "#88c0d0", + "theme.bar.menus.menu.network.iconbuttons.passive": "#d8dee9", + "theme.bar.menus.menu.network.icons.active": "#88c0d0", + "theme.bar.menus.menu.network.icons.passive": "#5e81ac", + "theme.bar.menus.menu.network.label.color": "#88c0d0", + "theme.bar.menus.menu.network.listitems.active": "#88c0d0", + "theme.bar.menus.menu.network.listitems.passive": "#d8dee9", + "theme.bar.menus.menu.network.scroller.color": "#88c0d0", + "theme.bar.menus.menu.network.status.color": "#4c566a", + "theme.bar.menus.menu.network.switch.disabled": "#434c53", + "theme.bar.menus.menu.network.switch.enabled": "#88c0d0", + "theme.bar.menus.menu.network.switch.puck": "#434c53", + "theme.bar.menus.menu.network.text": "#d8dee9", + "theme.bar.menus.menu.notifications.background": "#2e3440", + "theme.bar.menus.menu.notifications.border": "#434c53", + "theme.bar.menus.menu.notifications.card": "#3b4252", + "theme.bar.menus.menu.notifications.clear": "#8fbcbb", + "theme.bar.menus.menu.notifications.label": "#88c0d0", + "theme.bar.menus.menu.notifications.no_notifications_label": "#434c53", + "theme.bar.menus.menu.notifications.pager.background": "#2e3440", + "theme.bar.menus.menu.notifications.pager.button": "#88c0d0", + "theme.bar.menus.menu.notifications.pager.label": "#5e81ac", + "theme.bar.menus.menu.notifications.scrollbar.color": "#88c0d0", + "theme.bar.menus.menu.notifications.switch.disabled": "#434c53", + "theme.bar.menus.menu.notifications.switch.enabled": "#88c0d0", + "theme.bar.menus.menu.notifications.switch.puck": "#434c53", + "theme.bar.menus.menu.notifications.switch_divider": "#434c53", + "theme.bar.menus.menu.power.background.color": "#2e3440", + "theme.bar.menus.menu.power.border.color": "#434c53", + "theme.bar.menus.menu.power.buttons.logout.background": "#3b4252", + "theme.bar.menus.menu.power.buttons.logout.icon": "#2e3440", + "theme.bar.menus.menu.power.buttons.logout.icon_background": "#8fbcbb", + "theme.bar.menus.menu.power.buttons.logout.text": "#8fbcbb", + "theme.bar.menus.menu.power.buttons.restart.background": "#3b4252", + "theme.bar.menus.menu.power.buttons.restart.icon": "#2e3440", + "theme.bar.menus.menu.power.buttons.restart.icon_background": "#81a1c1", + "theme.bar.menus.menu.power.buttons.restart.text": "#81a1c1", + "theme.bar.menus.menu.power.buttons.shutdown.background": "#3b4252", + "theme.bar.menus.menu.power.buttons.shutdown.icon": "#2e3440", + "theme.bar.menus.menu.power.buttons.shutdown.icon_background": "#8fbcbb", + "theme.bar.menus.menu.power.buttons.shutdown.text": "#8fbcbb", + "theme.bar.menus.menu.power.buttons.sleep.background": "#3b4252", + "theme.bar.menus.menu.power.buttons.sleep.icon": "#2e3440", + "theme.bar.menus.menu.power.buttons.sleep.icon_background": "#88c0d0", + "theme.bar.menus.menu.power.buttons.sleep.text": "#88c0d0", + "theme.bar.menus.menu.systray.dropdownmenu.background": "#2e3440", + "theme.bar.menus.menu.systray.dropdownmenu.divider": "#3b4252", + "theme.bar.menus.menu.systray.dropdownmenu.text": "#d8dee9", + "theme.bar.menus.menu.volume.audio_slider.background": "#434c53", + "theme.bar.menus.menu.volume.audio_slider.backgroundhover": "#434c53", + "theme.bar.menus.menu.volume.audio_slider.primary": "#81a1c1", + "theme.bar.menus.menu.volume.audio_slider.puck": "#434c53", + "theme.bar.menus.menu.volume.background.color": "#2e3440", + "theme.bar.menus.menu.volume.border.color": "#434c53", + "theme.bar.menus.menu.volume.card.color": "#3b4252", + "theme.bar.menus.menu.volume.iconbutton.active": "#81a1c1", + "theme.bar.menus.menu.volume.iconbutton.passive": "#d8dee9", + "theme.bar.menus.menu.volume.icons.active": "#81a1c1", + "theme.bar.menus.menu.volume.icons.passive": "#5e81ac", + "theme.bar.menus.menu.volume.input_slider.background": "#434c53", + "theme.bar.menus.menu.volume.input_slider.backgroundhover": "#434c53", + "theme.bar.menus.menu.volume.input_slider.primary": "#81a1c1", + "theme.bar.menus.menu.volume.input_slider.puck": "#434c53", + "theme.bar.menus.menu.volume.label.color": "#81a1c1", + "theme.bar.menus.menu.volume.listitems.active": "#81a1c1", + "theme.bar.menus.menu.volume.listitems.passive": "#d8dee9", + "theme.bar.menus.menu.volume.text": "#d8dee9", + "theme.bar.menus.popover.background": "#2e3440", + "theme.bar.menus.popover.border": "#2e3440", + "theme.bar.menus.popover.text": "#88c0d0", + "theme.bar.menus.progressbar.background": "#434c53", + "theme.bar.menus.progressbar.foreground": "#88c0d0", + "theme.bar.menus.slider.background": "#434c53", + "theme.bar.menus.slider.backgroundhover": "#434c53", + "theme.bar.menus.slider.primary": "#88c0d0", + "theme.bar.menus.slider.puck": "#4c566a", + "theme.bar.menus.switch.disabled": "#434c53", + "theme.bar.menus.switch.enabled": "#88c0d0", + "theme.bar.menus.switch.puck": "#434c53", + "theme.bar.menus.text": "#d8dee9", + "theme.bar.menus.tooltip.background": "#2e3440", + "theme.bar.menus.tooltip.text": "#d8dee9", + "theme.bar.opacity": "95", + "theme.bar.transparent": "false", + "theme.notification.actions.background": "#88c0d0", + "theme.notification.actions.text": "#2e3440", + "theme.notification.background": "#2e3440", + "theme.notification.border": "#434c53", + "theme.notification.close_button.background": "#8fbcbb", + "theme.notification.close_button.label": "#2e3440", + "theme.notification.label": "#88c0d0", + "theme.notification.labelicon": "#88c0d0", + "theme.notification.text": "#d8dee9", + "theme.notification.time": "#4c566a", + "theme.osd.bar_color": "#88c0d0", + "theme.osd.bar_container": "#2e3440", + "theme.osd.bar_empty_color": "#434c53", + "theme.osd.bar_overflow_color": "#8fbcbb", + "theme.osd.icon": "#2e3440", + "theme.osd.icon_container": "#88c0d0", + "theme.osd.label": "#88c0d0" +} diff --git a/home/default.nix b/home/default.nix index d2a1b35..e8a8552 100755 --- a/home/default.nix +++ b/home/default.nix @@ -15,8 +15,10 @@ ./gtk.nix ./tmux.nix ./starship.nix + ./fzf.nix #./vscode.nix ./packages.nix + ./desktop-env.nix ./hyprlock.nix ./hypridle.nix ./notify.nix diff --git a/home/desktop-env.nix b/home/desktop-env.nix new file mode 100644 index 0000000..f7d705b --- /dev/null +++ b/home/desktop-env.nix @@ -0,0 +1,142 @@ +/* + This file is for configuring all the normal things + you would need in a desktop environment that + hyprland doesn't come with by default + such as: + - A file manager + - An image viewer + - Video player +*/ +{ + pkgs, + ... +}: +# Complete Desktop Applications Suite for Home Manager +{ + # Media Viewers + home.packages = with pkgs; [ + # *** File Manager *** + xfce.thunar + xfce.thunar-volman # Removable drive support + xfce.thunar-media-tags-plugin + # Essential thumbnail generators + xfce.tumbler # Thunar's thumbnail service + ffmpegthumbnailer # Video thumbnails + libgsf # Office document thumbnails + poppler # PDF thumbnails + # ******************** + + # Image Viewers + kdePackages.gwenview # KDE image viewer - integrates well with Dolphin + # feh # Lightweight alternative + + # Video Players + mpv + + # Audio Players + kdePackages.elisa # KDE music player + + # Document Viewers + kdePackages.okular # KDE PDF/document viewer + + # Archive Managers + kdePackages.ark # KDE archive manager + + # Text Editors + kdePackages.kate # KDE advanced text editor + # kwrite # KDE simple text editor + # gedit # GNOME text editor alternative + + # Office & Productivity + # libreoffice # Full office suite + # onlyoffice-bin # Alternative office suite + ]; + + # XDG MIME associations for seamless integration + xdg.mimeApps = { + enable = true; + defaultApplications = { + # Image files + "image/jpeg" = "org.kde.gwenview.desktop"; + "image/png" = "org.kde.gwenview.desktop"; + "image/gif" = "org.kde.gwenview.desktop"; + "image/bmp" = "org.kde.gwenview.desktop"; + "image/tiff" = "org.kde.gwenview.desktop"; + "image/webp" = "org.kde.gwenview.desktop"; + "image/svg+xml" = "org.kde.gwenview.desktop"; + + # Video files + "video/mp4" = "mpv.desktop"; + "video/mpeg" = "mpv.desktop"; + "video/quicktime" = "mpv.desktop"; + "video/x-msvideo" = "mpv.desktop"; + "video/x-matroska" = "mpv.desktop"; + "video/webm" = "mpv.desktop"; + + # Audio files + "audio/mpeg" = "org.kde.elisa.desktop"; + "audio/flac" = "org.kde.elisa.desktop"; + "audio/x-wav" = "org.kde.elisa.desktop"; + "audio/ogg" = "org.kde.elisa.desktop"; + "audio/mp4" = "org.kde.elisa.desktop"; + + # Document files + "application/pdf" = "org.kde.okular.desktop"; + "application/postscript" = "org.kde.okular.desktop"; + "application/epub+zip" = "org.kde.okular.desktop"; + + # Text files + "text/plain" = "org.kde.kate.desktop"; + "text/markdown" = "org.kde.kate.desktop"; + "application/x-shellscript" = "org.kde.kate.desktop"; + + # Archive files + "application/zip" = "org.kde.ark.desktop"; + "application/x-tar" = "org.kde.ark.desktop"; + "application/x-compressed-tar" = "org.kde.ark.desktop"; + "application/x-7z-compressed" = "org.kde.ark.desktop"; + "application/x-rar" = "org.kde.ark.desktop"; + + # Directory + "inode/directory" = "org.kde.dolphin.desktop"; + }; + }; + + # Configure specific programs + programs = { + # Configure mpv for advanced video playback + mpv = { + enable = true; + config = { + # Hardware acceleration + hwdec = "auto"; + vo = "gpu"; + + # UI improvements + osc = true; + border = false; + + # Subtitle settings + sub-auto = "fuzzy"; + sub-file-paths = "ass:srt:sub:subs:subtitles"; + + # Audio settings + volume = 100; + volume-max = 200; + }; + }; + }; + + # Optional: Create custom desktop entries for specific workflows + xdg.desktopEntries = { + # Open terminal in current directory (for Dolphin integration) + "terminal-here" = { + name = "Terminal Here"; + comment = "Open terminal in current location"; + exec = "kitty --workdir %u"; + icon = "utilities-terminal"; + mimeType = [ "inode/directory" ]; + noDisplay = true; + }; + }; +} diff --git a/home/fzf.nix b/home/fzf.nix new file mode 100644 index 0000000..a8ce42e --- /dev/null +++ b/home/fzf.nix @@ -0,0 +1,7 @@ +{ ... }: +{ + programs.fzf = { + enable = true; + enableZshIntegration = true; + }; +} \ No newline at end of file diff --git a/home/hypridle.nix b/home/hypridle.nix index cec7722..76d6720 100644 --- a/home/hypridle.nix +++ b/home/hypridle.nix @@ -22,17 +22,18 @@ listener = [ { - timeout = 10; # 4.5 min — warn before lock + timeout = 270; # 4.5 min — warn before lock on-timeout = "notify-send '🔒 Locking in 30s...'"; + # on-timeout = "notify-send 'hiii'"; } { - timeout = 300; # 5 min — lock screen + timeout = 1000; # 16 min — lock screen on-timeout = "hyprctl dispatch exec 'hyprlock --immediate'"; } - { - timeout = 900; # 15 min — suspend - on-timeout = "systemctl suspend"; - } + # { + # timeout = 900; # 15 min — suspend + # on-timeout = "systemctl suspend"; + # } ]; }; }; diff --git a/home/hyprland.nix b/home/hyprland.nix index 2f1b714..feec2c0 100644 --- a/home/hyprland.nix +++ b/home/hyprland.nix @@ -8,6 +8,7 @@ { wayland.windowManager.hyprland = { settings = { + "$file_browser" = "thunar"; "$mod" = "SUPER"; input = { @@ -49,6 +50,9 @@ ]; bind = [ + # File manager + "$mod, z, exec, $file_browser" + # Dwindle "$mod, p, layoutmsg, togglesplit" "$mod, 0, layoutmsg, swapsplit" @@ -83,7 +87,8 @@ "$mod, i, exec, brave" "$mod, u, exec, kitty --start-as=normal -- zsh -ic 'home'" - "$mod, y, exec, kitty --start-as=normal -- zsh -ic 'repos'" + # "$mod, y, exec, kitty --start-as=normal -- zsh -ic 'repos'" + "$mod, y, exec, eza -ld $HOME/repos/* --color=never | awk '{print $7}' | wofi --dmenu --prompt \"Open project:\" | xargs -I{} code {} -n && exit" "$mod, s, togglespecialworkspace, special1" # "$mod, v, togglespecialworkspace, special2" @@ -145,12 +150,12 @@ smart_resizing = true; }; - general = { - gaps_out = 0; - gaps_in = 0; - # layout = "master"; - layout = "dwindle"; - }; + general = { + gaps_out = 0; + gaps_in = 0; + layout = "master"; + # layout = "dwindle"; + }; windowrulev2 = [ "opacity 0.85, class:^(Code)$" @@ -168,7 +173,7 @@ blur = { enabled = true; - size = 2; + size = 1; passes = 2; brightness = 1; contrast = 1.0; @@ -223,7 +228,7 @@ exec-once = [ # "sleep 2 && waybar &" - "hypridle &" + # "hypridle &" "hyprpanel &" "eval $(gnome-keyring-daemon --start --components=secrets,ssh,gpg)" # "hash dbus-update-activation-environment 2>/dev/null" diff --git a/home/hyprpanel2.nix b/home/hyprpanel2.nix index a29d18d..05d7014 100644 --- a/home/hyprpanel2.nix +++ b/home/hyprpanel2.nix @@ -58,17 +58,21 @@ let "0" = { left = [ ]; middle = [ ]; right = [ ]; }; "1" = { left = [ ]; middle = [ ]; right = [ ]; }; "2" = { - left = [ "dashboard" "workspaces" "media" ]; - middle = [ - "clock" + left = [ + "dashboard" + "workspaces" + "media" "volume" ]; + middle = [ + "clock" + ]; right = [ + "systray" + "netstat" "hyprsunset" "hypridle" - "netstat" - "systray" - "updates" + # "updates" "notifications" ]; }; @@ -86,6 +90,7 @@ let showApplicationIcons = true; showWsIcons = true; show_icons = true; + identifier = true; show_numbered = false; workspaceMask = false; }; @@ -166,6 +171,7 @@ let }; myOverrides = mySettings // { + "theme.bar.buttons.workspaces.numbered_active_highlighted_text_color" = "#21252b"; "theme.bar.buttons.style" = "wave"; "theme.bar.opacity" = "95"; "theme.bar.transparent" = "false"; diff --git a/home/hyprpaper.nix b/home/hyprpaper.nix index 1ad6ae4..e992455 100644 --- a/home/hyprpaper.nix +++ b/home/hyprpaper.nix @@ -12,10 +12,9 @@ enable = true; settings = { ipc = "on"; - splash = false; + splash = true; preload = [ - "/home/xbazzi/Pictures/wallpapers/cities/sanfran.jpg" - "/home/xbazzi/Pictures/wallpapers/cities/dubai.jpg" + "/home/xbazzi/Pictures/wallpapers/cities/sanfran.jpg" "/home/xbazzi/Pictures/wallpapers/cities/dubai.jpg" ]; wallpaper = [ diff --git a/home/kitty.nix b/home/kitty.nix index 90a72ba..f49e580 100755 --- a/home/kitty.nix +++ b/home/kitty.nix @@ -6,10 +6,17 @@ ... }: +let + kittyConfig = '' + map ctrl+r send_text all \x15shellhistory\r + ''; +in { programs.kitty = { enable = true; shellIntegration.enableZshIntegration = true; + # extraConfig = kittyConfig; + settings = { confirm_os_window_close = 0; # dynamic_background_opacity = true; @@ -21,6 +28,7 @@ # background = "#ff00ff"; hide_window_decorations = true; # themeFile = "Alucard"; + symbol_map = let mappings = [ diff --git a/home/starship.nix b/home/starship.nix index 088341e..4b614aa 100755 --- a/home/starship.nix +++ b/home/starship.nix @@ -9,8 +9,45 @@ { programs.starship = { enable = true; + enableBashIntegration = true; enableZshIntegration = true; - settings = pkgs.lib.importTOML ./xbazzi_starship.toml; + + # settings = pkgs.lib.importTOML ./xbazzi_starship.toml; + settings = { + + format = " $time $all "; + directory = { + truncation_length = 9; + }; + php = { + format = "[$symbol($version )]($style)"; + }; + + golang = { + format = "[$symbol($version )]($style)"; + }; + + nodejs = { + format = "[$symbol($version )]($style)"; + }; + + bun = { + format = "[$symbol($version )]($style)"; + }; + cpp = { + format = "[$symbol($version )]($style)"; + }; + python = { + format = "[$symbol($version )]($style)"; + }; + time = { + disabled = false; + format = "[$time]($style)"; + + }; + }; + + # username = { # style_user = "blue bold"; # style_root = "red bold"; diff --git a/home/starship.toml b/home/starship.toml new file mode 120000 index 0000000..1fac06d --- /dev/null +++ b/home/starship.toml @@ -0,0 +1 @@ +/nix/store/5cmkfhzn2dsshnh43picvzz1xxbx45qp-home-manager-files/.config/starship.toml \ No newline at end of file diff --git a/system/configuration.nix b/system/configuration.nix index 388fbea..35a919c 100755 --- a/system/configuration.nix +++ b/system/configuration.nix @@ -29,19 +29,19 @@ security.pam.services.hyprlock = { }; services.gnome.gnome-keyring.enable = true; security.pam.services.hyprlock.enableGnomeKeyring = true; - services.greetd.enable = true; - services.greetd.settings = { - default_session = { - # GUI greeter - #command = "${pkgs.greetd.gtkgreet}/bin/gtkgreet -c hyprland"; - # command = "${pkgs.greetd.gtkgreet}/bin/gtkgreet -c 'Hyprland'"; + # services.greetd.enable = true; + # services.greetd.settings = { + # default_session = { + # # GUI greeter + # #command = "${pkgs.greetd.gtkgreet}/bin/gtkgreet -c hyprland"; + # # command = "${pkgs.greetd.gtkgreet}/bin/gtkgreet -c 'Hyprland'"; - # TUI greeter - command = "${pkgs.tuigreet}/bin/tuigreet --time --remember \ - --cmd 'dbus-run-session ${pkgs.hyprland}/bin/Hyprland'"; - user = "greeter"; - }; - }; + # # TUI greeter + # command = "${pkgs.tuigreet}/bin/tuigreet --time --remember \ + # --cmd 'dbus-run-session ${pkgs.hyprland}/bin/Hyprland'"; + # user = "greeter"; + # }; + # }; # nix.settings = { # substituters = [ @@ -67,6 +67,7 @@ # systemd systemd.network.wait-online.timeout = 5; + systemd.network.wait-online.enable = true; # Set your time zone. time.timeZone = "America/Denver"; diff --git a/system/default.nix b/system/default.nix index 2e3043b..20cf9a5 100755 --- a/system/default.nix +++ b/system/default.nix @@ -7,6 +7,8 @@ ./ssh.nix # ./openrgb.nix ./stylix.nix + ./ghub.nix + ./sddm.nix # ./gnome.nix # ./lanzaboote.nix ./nvidia.nix diff --git a/system/ghub.nix b/system/ghub.nix new file mode 100644 index 0000000..5736e08 --- /dev/null +++ b/system/ghub.nix @@ -0,0 +1,30 @@ +{ + config, + pkgs, + inputs, + ... +}: + +{ + boot = { + kernelModules = [ "uinput" ]; + }; + + environment = { + systemPackages = with pkgs; [ + solaar # Manage logitech mouse + ]; + }; + + hardware = { + logitech = { + wireless.enable = true; + wireless.enableGraphical = true; + }; + }; + + users.users.xbazzi.extraGroups = [ + "input" + "plugdev" + ]; +} \ No newline at end of file diff --git a/system/nfs.nix b/system/nfs.nix index fcec3c4..2126e78 100755 --- a/system/nfs.nix +++ b/system/nfs.nix @@ -28,8 +28,21 @@ fsType = "nfs"; options = [ "noauto" + "_netdev" "rw" "vers=4" + + # On-demand mount (recommended): mounts when first accessed + "x-systemd.automount" + # "noauto" # optional but fine with automount + + # Make sure network is really up before trying + # "x-systemd.after=network-online.target" + # "x-systemd.requires=network-online.target" + + # Quality-of-life + # "x-systemd.mount-timeout=30s" + # "x-systemd.idle-timeout=600" # unmount after 10min idle (automount only) ]; }; diff --git a/system/sddm.nix b/system/sddm.nix new file mode 100644 index 0000000..fa5fefe --- /dev/null +++ b/system/sddm.nix @@ -0,0 +1,63 @@ +{ + config, + pkgs, + inputs, + # assets, + ... +}: +let + basePath = "/home/xbazzi/Pictures/wallpapers/cities"; + wallpaper = "dubai.jpg"; +in +{ + environment = { + etc = { + # "sddm-wallpaper.png".source = "${assets}/sddm-background.png"; + "gtk-3.0/settings.ini".text = '' + [Settings] + gtk-icon-theme-name=Papirus + gtk-theme-name=Adwaita + gtk-cursor-theme-name=Adwaita + ''; + }; + + systemPackages = with pkgs; [ + papirus-icon-theme + (sddm-chili-theme.override { + themeConfig = { + background = "/etc/sddm-wallpaper.png"; + ScreenWidth = "3440"; + ScreenHeight = "1440"; + recursiveBlurLoops = 1; + recursiveBlurRadius = 10; + }; + }) + libsForQt5.qt5.qtgraphicaleffects + ]; + + pathsToLink = [ + "/share/icons" + ]; + + variables = { + GTK_ICON_THEME = "Papirus"; + }; + }; + + programs.dconf.enable = true; + + services.displayManager.sddm = { + enable = true; + wayland.enable = true; + theme = "chili"; + autoNumlock = true; + package = pkgs.libsForQt5.sddm; + extraPackages = with pkgs.libsForQt5.qt5; [ + qtgraphicaleffects + qtquickcontrols2 + qtquickcontrols + qtsvg + qtdeclarative # QtQuick core + ]; + }; +} \ No newline at end of file diff --git a/system/vscode.nix b/system/vscode.nix index 330a764..e427f82 100755 --- a/system/vscode.nix +++ b/system/vscode.nix @@ -29,6 +29,8 @@ bmewburn.vscode-intelephense-client zxh404.vscode-proto3 twxs.cmake + tamasfe.even-better-toml + # Use the nix-ide instead # arrterian.nix-env-selector