This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / tools / noctalia-shell / flake-module.nix
1.6 kB 39 lines
1{ self, inputs, ... }: 2{ 3 perSystem = 4 { pkgs, ... }: 5 let 6 noctalia = inputs.wrappers.lib.wrapModule { 7 imports = [ self.wrapperModules.noctalia-shell ]; 8 inherit pkgs; 9 10 # Declarative settings merged into ~/.config/noctalia/settings.json 11 # on every start. Anything not listed here remains user-mutable. 12 settings = { 13 hooks = { 14 enabled = true; 15 # Mirror noctalia's dark mode toggle to the system theme. 16 darkModeChange = ''if [ "$1" = "true" ]; then switch-theme dark; else switch-theme light; fi''; 17 }; 18 # The live desktop wallpaper is rendered by mpvpaper on the 19 # background layer (see 2configs/desktops/sway/wallpaper.nix), so 20 # noctalia's own wallpaper is turned off to let it show through. 21 wallpaper.enabled = false; 22 # DDC/CI control for external monitors via ddcutil. Inert on 23 # machines without DDC/CI-capable displays (detection finds 24 # nothing, internal backlight path is used as before). 25 brightness.enableDdcSupport = true; 26 }; 27 28 settingsPatches = [ 29 # Show workspace names (not indices) in the bar, and don't 30 # truncate them. The widget caps to 2 chars on vertical bars 31 # regardless; this only affects horizontal bars. 32 ''.bar.widgets.center |= map(if .id == "Workspace" then .labelMode = "name" | .characterCount = 20 else . end)'' 33 ]; 34 }; 35 in 36 { 37 packages.noctalia-shell = noctalia.wrapper; 38 }; 39}