From 410bfc68b98911d1125928ee0b4290179c39f5b3 Mon Sep 17 00:00:00 2001 From: deadvey Date: Sun, 18 Aug 2024 22:03:10 +0100 Subject: [PATCH] 443 current 2024-08-18 21:52:37 24.05.3642.883180e6550c 6.6.44 * --- configuration.nix | 6 +++--- nixos-switch.log | 35 ++++++----------------------------- 2 files changed, 9 insertions(+), 32 deletions(-) diff --git a/configuration.nix b/configuration.nix index 079be2c..9133542 100644 --- a/configuration.nix +++ b/configuration.nix @@ -5,12 +5,12 @@ { config, pkgs, ... }: let CORNER_RADIUS = "5"; - CORNER_RADIUS_INT = builtins.parseInt CORNER_RADIUS; + CORNER_RADIUS_INT = builtins.fromString CORNER_RADIUS; WAYBAR_MODULES_CORNER_RADIUS = "5"; GAPS_IN = "5"; GAPS_OUT = "10"; BORDER_WIDTH = "2"; - BORDER_WIDTH_INT = builtins.parseInt BORDER_WIDTH; + BORDER_WIDTH_INT = builtins.fromString BORDER_WIDTH; WALLPAPER = "$HOME/media/Pictures/wallpapers/forest.jpg"; # Colours @@ -723,7 +723,7 @@ valign = bottom border: ${BORDER_WIDTH}px solid RGBA(235, 219, 178, 1); background-color: transparent; box-shadow: 0px 0px 0px 60px black, 0px 0px 0px 0.5px #ebdbb2; - border-radius: ${builtins.toString CORNER_RADIUS_INT + BORDER_WIDTH_INT}px; + border-radius: ${CORNER_RADIUS}px; margin: 20px; } window#waybar.right, diff --git a/nixos-switch.log b/nixos-switch.log index 5223936..2914484 100644 --- a/nixos-switch.log +++ b/nixos-switch.log @@ -1,31 +1,8 @@ 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:8:22: - - 7| CORNER_RADIUS = "5"; - 8| CORNER_RADIUS_INT = builtins.parseInt CORNER_RADIUS; - | ^ - 9| WAYBAR_MODULES_CORNER_RADIUS = "5"; +trace: warning: The option `services.xserver.displayManager.defaultSession' defined in `/etc/nixos/configuration.nix' has been renamed to `services.displayManager.defaultSession'. +activating the configuration... +setting up /etc... +reloading user units for lightdm... +reloading user units for deadvey... +restarting sysinit-reactivation.target