diff --git a/configuration.nix b/configuration.nix index c159080..9819e80 100644 --- a/configuration.nix +++ b/configuration.nix @@ -227,17 +227,17 @@ in "text/plain" = "emacs.desktop"; # Audio - "audio/mpeg" = mpv.desktop; - "audio/x-mp3" = mpv.desktop; - "audio/x-wav" = mpv.desktop; + "audio/mpeg" = "mpv.desktop"; + "audio/x-mp3" = "mpv.desktop"; + "audio/x-wav" = "mpv.desktop"; # Video - "video/mp4" = mpv.desktop; - "video/x-matroska" = mpv.desktop; - "video/x-msvideo" = mpv.desktop; - "video/x-flv" = mpv.desktop; - "video/x-mpeg" = mpv.desktop; - "video/x-ms-wmv" = mpv.desktop; + "video/mp4" = "mpv.desktop"; + "video/x-matroska" = "mpv.desktop"; + "video/x-msvideo" = "mpv.desktop"; + "video/x-flv" = "mpv.desktop"; + "video/x-mpeg" = "mpv.desktop"; + "video/x-ms-wmv" = "mpv.desktop"; }; }; diff --git a/nixos-switch.log b/nixos-switch.log index 5e6ff05..8d95139 100644 --- a/nixos-switch.log +++ b/nixos-switch.log @@ -1,89 +1,23 @@ -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: undefined variable 'mpv' - - at /etc/nixos/configuration.nix:230:18: - - 229| # Audio - 230| "audio/mpeg" = mpv.desktop; - | ^ - 231| "audio/x-mp3" = mpv.desktop; 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: undefined variable 'mpv' - - at /etc/nixos/configuration.nix:230:18: - - 229| # Audio - 230| "audio/mpeg" = mpv.desktop; - | ^ - 231| "audio/x-mp3" = mpv.desktop; building the system configuration... -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: undefined variable 'mpv' - - at /etc/nixos/configuration.nix:230:18: - - 229| # Audio - 230| "audio/mpeg" = mpv.desktop; - | ^ - 231| "audio/x-mp3" = mpv.desktop; +these 7 derivations will be built: + /nix/store/2rfy93j8mrrj9k396v4nszdmm1h6a588-hm_mimeapps.list.drv + /nix/store/qipv6ri5wnxq6d34167xx7bgwkr5q9d0-home-manager-files.drv + /nix/store/07f1kkkm1xlnv24r143qvls08hqk3gck-home-manager-generation.drv + /nix/store/svdj6ypwg8ym99nq54yc18lnqg3bnmx5-unit-home-manager-deadvey.service.drv + /nix/store/s445lpkvn50zma6nb1kyd1nc5ay5r0xr-system-units.drv + /nix/store/kig99hj6flan0ibshxgzsfi9nd1qq2zb-etc.drv + /nix/store/5sb9j31f4zgqp78sg976qvny41ls93f9-nixos-system-nixos-24.05.3999.c42fcfbdfeae.drv +building '/nix/store/2rfy93j8mrrj9k396v4nszdmm1h6a588-hm_mimeapps.list.drv'... +building '/nix/store/qipv6ri5wnxq6d34167xx7bgwkr5q9d0-home-manager-files.drv'... +building '/nix/store/07f1kkkm1xlnv24r143qvls08hqk3gck-home-manager-generation.drv'... +building '/nix/store/svdj6ypwg8ym99nq54yc18lnqg3bnmx5-unit-home-manager-deadvey.service.drv'... +building '/nix/store/s445lpkvn50zma6nb1kyd1nc5ay5r0xr-system-units.drv'... +building '/nix/store/kig99hj6flan0ibshxgzsfi9nd1qq2zb-etc.drv'... +building '/nix/store/5sb9j31f4zgqp78sg976qvny41ls93f9-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