diff --git a/configuration.nix b/configuration.nix index a8c2054..3b38e35 100644 --- a/configuration.nix +++ b/configuration.nix @@ -579,14 +579,14 @@ valign = bottom "$mod CONTROL, up, resizeactive, 0 -20" "$mod CONTROL, down, resizeactive, 0 20" "$mod, L, exec, hyprlock" - "CTRL, 1, exec, cmus-remote -Q | grep 'file' | sed 's/file //' | mpv --playlist=- --no-audio --pause" - "CTRL, 2, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%" - "CTRL, 3, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%" - "CTRL, 4, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle" + "$mod, code:67, exec, cmus-remote -Q | grep 'file' | sed 's/file //' | mpv --playlist=- --no-audio --pause" + "$mod, code:68, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%" + "$mod, code:69, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%" + "$mod, code:70, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle" "$mod, code:71, exec, cmus-remote --pause" - "CTRL, 6, exec, cmus-remote --prev" - "CTRL, 7, exec, cmus-remote --play" - "CTRL, 8, exec, cmus-remote --next" + "$mod, code:72, exec, cmus-remote --prev" + "$mod, code:73, exec, cmus-remote --play" + "$mod, code:74, exec, cmus-remote --next" ] ++ ( # workspaces @@ -911,6 +911,7 @@ valign = bottom mpv killall zip + pactl nerdfonts eza spotdl diff --git a/nixos-switch.log b/nixos-switch.log index 10302c2..de64315 100644 --- a/nixos-switch.log +++ b/nixos-switch.log @@ -1,26 +1,32 @@ building Nix... building the system configuration... trace: warning: The option `services.xserver.displayManager.defaultSession' defined in `/etc/nixos/configuration.nix' has been renamed to `services.displayManager.defaultSession'. -these 8 derivations will be built: - /nix/store/ky5dzm1q58li1wxwfhg8h1jjy9njd7f9-hm_hyprhyprland.conf.drv - /nix/store/4k1zxw9lrg9yvmvwiniaxdhswhgn191j-home-manager-files.drv - /nix/store/jrv0wdagrkzg5wqycnwdp0jzwdf4r5hi-activation-script.drv - /nix/store/206zbpbxrz8x64kslr8rrswrgf9qn3s1-home-manager-generation.drv - /nix/store/94w1hxfgmczvf6dwhl6kz6vwfbk2dy80-unit-home-manager-deadvey.service.drv - /nix/store/455n9j18gmbmyi19xcc9cly99mmpr6ri-system-units.drv - /nix/store/3xhsw0lxfnab6j41xiqssxgzn8kp1bh0-etc.drv - /nix/store/fi8ycasyqxq35fybz0gj3cmziaksijn1-nixos-system-nixos-24.05.3642.883180e6550c.drv -building '/nix/store/ky5dzm1q58li1wxwfhg8h1jjy9njd7f9-hm_hyprhyprland.conf.drv'... -building '/nix/store/jrv0wdagrkzg5wqycnwdp0jzwdf4r5hi-activation-script.drv'... -building '/nix/store/4k1zxw9lrg9yvmvwiniaxdhswhgn191j-home-manager-files.drv'... -building '/nix/store/206zbpbxrz8x64kslr8rrswrgf9qn3s1-home-manager-generation.drv'... -building '/nix/store/94w1hxfgmczvf6dwhl6kz6vwfbk2dy80-unit-home-manager-deadvey.service.drv'... -building '/nix/store/455n9j18gmbmyi19xcc9cly99mmpr6ri-system-units.drv'... -building '/nix/store/3xhsw0lxfnab6j41xiqssxgzn8kp1bh0-etc.drv'... -building '/nix/store/fi8ycasyqxq35fybz0gj3cmziaksijn1-nixos-system-nixos-24.05.3642.883180e6550c.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 calling the 'head' builtin + + at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1575:11: + + 1574| || pred here (elemAt values 1) (head values) then + 1575| head values + | ^ + 1576| else + + … while evaluating the attribute 'value' + + at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:809:9: + + 808| in warnDeprecation opt // + 809| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value; + | ^ + 810| inherit (res.defsFinal') highestPrio; + + (stack trace truncated; use '--show-trace' to show the full trace) + + error: undefined variable 'pactl' + + at /etc/nixos/configuration.nix:914:2: + + 913| zip + 914| pactl + | ^ + 915| nerdfonts