diff --git a/configuration.nix b/configuration.nix index 54d4bf7..c8a4046 100644 --- a/configuration.nix +++ b/configuration.nix @@ -265,6 +265,25 @@ in logo = { source = "nixos_small"; }; + modules = [ + { + type = "datetime"; + key = "Date"; + format = "{1}-{3}-{11}"; + } + { + type = "datetime"; + key = "Time"; + format = "{14}:{17}:{20}; + } + "os", + "uptime", + "break", + "cpu", + "memory", + "gpu", + "colors", + ]; }; }; @@ -349,7 +368,7 @@ in global = { width = 300; height = 300; - offset = "0x5"; + offset = "5x5"; origin = "bottom-right"; transparency = 0; font = "Victor Mono SemiBold 12"; diff --git a/nixos-switch.log b/nixos-switch.log index 7a59c86..5c4972d 100644 --- a/nixos-switch.log +++ b/nixos-switch.log @@ -1,26 +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:378:20: + + 377| background = "#${GREEN}"; + 378| foreground = "#${BG}"; + | ^ + 379| frame_color = "#${DARK_GREEN}"; 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:378:20: + + 377| background = "#${GREEN}"; + 378| foreground = "#${BG}"; + | ^ + 379| frame_color = "#${DARK_GREEN}"; 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/6rqn2pl9y1yifjiwrmbb3k3fcahgkja4-hm_dunstdunstrc.drv - /nix/store/dj2y31i3ljzflhn70ffbzylff46j0733-activation-script.drv - /nix/store/y0q1qqw840l6f4n6nnmjcax0bk2nlpdj-home-manager-files.drv - /nix/store/bzcviffvrw22ljmg0c9jlmx52b8ikrfl-home-manager-generation.drv - /nix/store/qr0bbikzjr6ryjc9lhhc2p12pmrczajs-unit-home-manager-deadvey.service.drv - /nix/store/x3d99k04a4bq0a3h8y4hkwwn0nxlp9yl-system-units.drv - /nix/store/pb9q26psvpraclclzqsw28ba11b5ipna-etc.drv - /nix/store/f90af3pr9cixcy91w3v1hygzpgx47fww-nixos-system-nixos-24.05.3642.883180e6550c.drv -building '/nix/store/6rqn2pl9y1yifjiwrmbb3k3fcahgkja4-hm_dunstdunstrc.drv'... -building '/nix/store/dj2y31i3ljzflhn70ffbzylff46j0733-activation-script.drv'... -building '/nix/store/y0q1qqw840l6f4n6nnmjcax0bk2nlpdj-home-manager-files.drv'... -building '/nix/store/bzcviffvrw22ljmg0c9jlmx52b8ikrfl-home-manager-generation.drv'... -building '/nix/store/qr0bbikzjr6ryjc9lhhc2p12pmrczajs-unit-home-manager-deadvey.service.drv'... -building '/nix/store/x3d99k04a4bq0a3h8y4hkwwn0nxlp9yl-system-units.drv'... -building '/nix/store/pb9q26psvpraclclzqsw28ba11b5ipna-etc.drv'... -building '/nix/store/f90af3pr9cixcy91w3v1hygzpgx47fww-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 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:378:20: + + 377| background = "#${GREEN}"; + 378| foreground = "#${BG}"; + | ^ + 379| frame_color = "#${DARK_GREEN}";