diff --git a/configuration.nix b/configuration.nix index 422b94a..3e5aec3 100644 --- a/configuration.nix +++ b/configuration.nix @@ -5,12 +5,12 @@ { config, pkgs, ... }: let BORDER_WIDTH = "2"; - BORDER_WIDTH_INT = builtins.parseInt BORDER_WIDTH; + BORDER_WIDTH_INT = 2; CORNER_RADIUS = "5"; - CORNER_RADIUS_INT = builtins.parseInt CORNER_RADIUS; - # A curve of 2px and 10px radius thickness fits into a curve of 12px radius - RECEIVING_CORNER_RADIUS = builtins.toString CORNER_RADIUS_INT + BORDER_WIDTH_INT; + CORNER_RADIUS_INT = 5; + # Curves of 2px and 10px radius fits into a curve of 12px radius do border_width+ corner_radius + RECEIVING_CORNER_RADIUS = "12"; WAYBAR_MODULES_CORNER_RADIUS = "5"; GAPS_IN = "5"; diff --git a/nixos-switch.log b/nixos-switch.log index 09eb092..3f30ab0 100644 --- a/nixos-switch.log +++ b/nixos-switch.log @@ -1,31 +1,26 @@ building Nix... building the system configuration... -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: attribute 'parseInt' missing - - at /etc/nixos/configuration.nix:11:22: - - 10| CORNER_RADIUS = "5"; - 11| CORNER_RADIUS_INT = builtins.parseInt CORNER_RADIUS; - | ^ - 12| # A curve of 2px and 10px radius thickness fits into a curve of 12px radius +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/wzja7q5lz8fp66jdhipwxai4vdqybqvk-waybar-style.css.drv + /nix/store/7br8m6kkx5xj24kc4w81ggwp44lrick7-home-manager-files.drv + /nix/store/znbcsxh58m48yzvr8zbmcy863329cqia-activation-script.drv + /nix/store/p7w0njjxxnf75y5lxk3i1an7jq9wv4q4-home-manager-generation.drv + /nix/store/72f5sslmj17fz4fad1wk97h27jnd0nh6-unit-home-manager-deadvey.service.drv + /nix/store/33p2a8rsjhsvmpjv7abgksyr7viizbnn-system-units.drv + /nix/store/ng71mg8xds8dfxmsi9h3a48fq7brmpw5-etc.drv + /nix/store/nx9q6hw44wxak4wrmlqcir4ngr6cab9x-nixos-system-nixos-24.05.3642.883180e6550c.drv +building '/nix/store/wzja7q5lz8fp66jdhipwxai4vdqybqvk-waybar-style.css.drv'... +building '/nix/store/znbcsxh58m48yzvr8zbmcy863329cqia-activation-script.drv'... +building '/nix/store/7br8m6kkx5xj24kc4w81ggwp44lrick7-home-manager-files.drv'... +building '/nix/store/p7w0njjxxnf75y5lxk3i1an7jq9wv4q4-home-manager-generation.drv'... +building '/nix/store/72f5sslmj17fz4fad1wk97h27jnd0nh6-unit-home-manager-deadvey.service.drv'... +building '/nix/store/33p2a8rsjhsvmpjv7abgksyr7viizbnn-system-units.drv'... +building '/nix/store/ng71mg8xds8dfxmsi9h3a48fq7brmpw5-etc.drv'... +building '/nix/store/nx9q6hw44wxak4wrmlqcir4ngr6cab9x-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