From e51e19e7c2fef8daedcf48e4da0c42cbb251e1f0 Mon Sep 17 00:00:00 2001 From: deadvey Date: Tue, 20 Aug 2024 00:13:58 +0100 Subject: [PATCH] 488 current 2024-08-20 00:06:47 24.05.3999.c42fcfbdfeae 6.6.46 * --- configuration.nix | 27 +++++++++++- nixos-switch.log | 110 ++++++++++++++++++++++++++++++++++++---------- 2 files changed, 112 insertions(+), 25 deletions(-) diff --git a/configuration.nix b/configuration.nix index b9453aa..88758cb 100644 --- a/configuration.nix +++ b/configuration.nix @@ -730,7 +730,7 @@ valign = bottom margin-top = 0; margin-bottom = 0; modules-left = []; - modules-center = ["custom/play"]; + modules-center = ["custom/prev" "custom/pause" "custom/play" "custom/next"]; modules-right = []; "custom/play" = { @@ -738,8 +738,31 @@ valign = bottom interval = 1; on-click = "cmus-remote -p"; }; + "custom/pause" = { + format = ""; + interval = 1; + on-click = "cmus-remote -u"; + }; + "custom/next" = { + format = ""; + interval = 1; + on-click = "cmus-remote -n"; + }; + "custom/prev" = { + format = ""; + interval = 1; + on-click = "cmus-remote -r"; + }; + "custom/vol" = { + format = "  {} "; + interval = 1; + exec = "cmus-remote -Q | grep 'set vol_left' | sed 's/set vol_left //'"; + on-scroll-up = "cmus-remote -v +5%"; + on-scroll-down = "cmus-remote -v -5%"; + } + - }; + }; }; diff --git a/nixos-switch.log b/nixos-switch.log index 7830f17..ed6dcf2 100644 --- a/nixos-switch.log +++ b/nixos-switch.log @@ -1,25 +1,89 @@ +error: + … while evaluating the attribute 'config' + + at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:322:9: + + 321| options = checked options; + 322| config = checked (removeAttrs config [ "_module" ]); + | ^ + 323| _module = checked (config._module); + + … while calling the 'seq' builtin + + at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:322:18: + + 321| options = checked options; + 322| config = checked (removeAttrs config [ "_module" ]); + | ^ + 323| _module = checked (config._module); + + (stack trace truncated; use '--show-trace' to show the full trace) + + error: syntax error, unexpected '}', expecting ';' + + at /etc/nixos/configuration.nix:765:4: + + 764| + 765| }; + | ^ + 766| }; building Nix... +error: + … while evaluating the attribute 'config' + + at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:322:9: + + 321| options = checked options; + 322| config = checked (removeAttrs config [ "_module" ]); + | ^ + 323| _module = checked (config._module); + + … while calling the 'seq' builtin + + at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:322:18: + + 321| options = checked options; + 322| config = checked (removeAttrs config [ "_module" ]); + | ^ + 323| _module = checked (config._module); + + (stack trace truncated; use '--show-trace' to show the full trace) + + error: syntax error, unexpected '}', expecting ';' + + at /etc/nixos/configuration.nix:765:4: + + 764| + 765| }; + | ^ + 766| }; building the system configuration... -these 8 derivations will be built: - /nix/store/asl44scm5afyn1ir9a2cg3379wsj7fzl-waybar-style.css.drv - /nix/store/9bbfdpsr3d0d2r1xdf6idkqndl9cn18k-home-manager-files.drv - /nix/store/qdmmwvmrsv0nqli91za9fflkxhc7ychz-activation-script.drv - /nix/store/bgqjfjgkmaszc2ygvkb76ijm170vy0p3-home-manager-generation.drv - /nix/store/fidwali0gd05cx159rffv35zv8g7h1ls-unit-home-manager-deadvey.service.drv - /nix/store/7qkxbssf4qih9nw6qxrrd60ghak6v15m-system-units.drv - /nix/store/ijxavbcksap4xs7nawrbc763fkj7k73f-etc.drv - /nix/store/0c7bsy1fpbb1xqq5y9pydlccml42h32g-nixos-system-nixos-24.05.3999.c42fcfbdfeae.drv -building '/nix/store/asl44scm5afyn1ir9a2cg3379wsj7fzl-waybar-style.css.drv'... -building '/nix/store/qdmmwvmrsv0nqli91za9fflkxhc7ychz-activation-script.drv'... -building '/nix/store/9bbfdpsr3d0d2r1xdf6idkqndl9cn18k-home-manager-files.drv'... -building '/nix/store/bgqjfjgkmaszc2ygvkb76ijm170vy0p3-home-manager-generation.drv'... -building '/nix/store/fidwali0gd05cx159rffv35zv8g7h1ls-unit-home-manager-deadvey.service.drv'... -building '/nix/store/7qkxbssf4qih9nw6qxrrd60ghak6v15m-system-units.drv'... -building '/nix/store/ijxavbcksap4xs7nawrbc763fkj7k73f-etc.drv'... -building '/nix/store/0c7bsy1fpbb1xqq5y9pydlccml42h32g-nixos-system-nixos-24.05.3999.c42fcfbdfeae.drv'... -activating the configuration... -setting up /etc... -reloading user units for lightdm... -reloading user units for deadvey... -restarting sysinit-reactivation.target -restarting the following units: home-manager-deadvey.service +error: + … while evaluating the attribute 'config.system.build.toplevel' + + at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:322:9: + + 321| options = checked options; + 322| config = checked (removeAttrs config [ "_module" ]); + | ^ + 323| _module = checked (config._module); + + … while calling the 'seq' builtin + + at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:322:18: + + 321| options = checked options; + 322| config = checked (removeAttrs config [ "_module" ]); + | ^ + 323| _module = checked (config._module); + + (stack trace truncated; use '--show-trace' to show the full trace) + + error: syntax error, unexpected '}', expecting ';' + + at /etc/nixos/configuration.nix:765:4: + + 764| + 765| }; + | ^ + 766| };