diff --git a/home/waybar/default.nix b/home/waybar/default.nix index df78c05..8406f38 100644 --- a/home/waybar/default.nix +++ b/home/waybar/default.nix @@ -5,14 +5,11 @@ ... }: let - toCSS = import ./tocss.nix; + toCSS = import ./tocss.nix { inherit pkgs; }; in lib.mkIf config.programs.waybar.enable { programs.waybar = { - style = toCSS { - inherit pkgs; - file = ./style.scss; - }; + style = toCSS ./style.scss; settings = { main = import ./config.nix { inherit pkgs; }; }; diff --git a/home/waybar/tocss.nix b/home/waybar/tocss.nix index de28580..1290713 100644 --- a/home/waybar/tocss.nix +++ b/home/waybar/tocss.nix @@ -1,4 +1,5 @@ -{ pkgs, file, ... }: +{ pkgs, ... }: +file: pkgs.stdenv.mkDerivation { name = "toCSS"; buildCommand = '' diff --git a/parts/lib/functions.nix b/parts/lib/functions.nix index 7145846..0a1577e 100644 --- a/parts/lib/functions.nix +++ b/parts/lib/functions.nix @@ -8,7 +8,6 @@ let inherit (lib) mkOption; in { - systemdHardening = { IPAddressDeny = "any"; NoNewPrivileges = true;