fix(nix): preserve binding comments
This commit is contained in:
@@ -8,11 +8,12 @@
|
|||||||
let
|
let
|
||||||
cfg = config.modules.desktop.session.waybar; # NOLINT(let_order)
|
cfg = config.modules.desktop.session.waybar; # NOLINT(let_order)
|
||||||
vpnClient = config.modules.network.vpn-client;
|
vpnClient = config.modules.network.vpn-client;
|
||||||
g = code: builtins.fromJSON ''"\u${code}"'';
|
|
||||||
user = config.user.name;
|
|
||||||
|
|
||||||
# A Nerd Font Private-Use-Area codepoint as a literal character, decoded
|
# A Nerd Font Private-Use-Area codepoint as a literal character, decoded
|
||||||
# through JSON so the glyph survives as bytes rather than an editor paste.
|
# through JSON so the glyph survives as bytes rather than an editor paste.
|
||||||
|
g = code: builtins.fromJSON ''"\u${code}"'';
|
||||||
|
user = config.user.name;
|
||||||
|
|
||||||
sleepOffIcon = builtins.fromJSON ''"\udb81\udcb3"'';
|
sleepOffIcon = builtins.fromJSON ''"\udb81\udcb3"'';
|
||||||
|
|
||||||
# Renders and toggles mako's do-not-disturb mode.
|
# Renders and toggles mako's do-not-disturb mode.
|
||||||
|
|||||||
@@ -7,15 +7,15 @@
|
|||||||
# Nord theming for the graphical layer, driven from one base16 scheme by Stylix.
|
# Nord theming for the graphical layer, driven from one base16 scheme by Stylix.
|
||||||
let
|
let
|
||||||
cfg = config.modules.desktop.utilities.theming; # NOLINT(let_order)
|
cfg = config.modules.desktop.utilities.theming; # NOLINT(let_order)
|
||||||
|
|
||||||
|
# A single static Nord wallpaper, drawn as a vertical gradient across the
|
||||||
|
# Polar Night shades so it needs no committed binary and no network fetch.
|
||||||
wallpaper = pkgs.runCommand "nord-wallpaper.png" { } ''
|
wallpaper = pkgs.runCommand "nord-wallpaper.png" { } ''
|
||||||
${pkgs.imagemagick}/bin/magick \
|
${pkgs.imagemagick}/bin/magick \
|
||||||
-size 2560x1440 gradient:'#2E3440'-'#3B4252' \
|
-size 2560x1440 gradient:'#2E3440'-'#3B4252' \
|
||||||
"$out"
|
"$out"
|
||||||
'';
|
'';
|
||||||
user = config.user.name;
|
user = config.user.name;
|
||||||
|
|
||||||
# A single static Nord wallpaper, drawn as a vertical gradient across the
|
|
||||||
# Polar Night shades so it needs no committed binary and no network fetch.
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.modules.desktop.utilities.theming.enable =
|
options.modules.desktop.utilities.theming.enable =
|
||||||
|
|||||||
Reference in New Issue
Block a user