diff --git a/.drone.jsonnet b/.drone.jsonnet index 356bab3..473144a 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -13,7 +13,10 @@ local Pipeline(channel) = { "nix eval -f default.nix 'lib'", "nix eval -f default.nix 'modules'", "nix eval -f default.nix 'overlays'" - ] + ], + environment: { + NIXPKGS_ALLOW_UNFREE: 1 + } }, { name: "deploy", @@ -24,6 +27,7 @@ local Pipeline(channel) = { // curl -XPOST "https://nur-update.herokuapp.com/update?repo=${NUR_REPO}"; fi' ], environment: { + NIXPKGS_ALLOW_UNFREE: 1, NUR_REPO: "xeals", CACHIX_CACHE: "xeals", CACHIX_SIGNING_KEY: { from_secret: "cachix_key" }, diff --git a/.drone.yml b/.drone.yml index f47cd24..9284088 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,6 +17,8 @@ steps: - nix eval -f default.nix 'lib' - nix eval -f default.nix 'modules' - nix eval -f default.nix 'overlays' + environment: + NIXPKGS_ALLOW_UNFREE: 1 - name: deploy image: nixpkgs/cachix @@ -26,6 +28,7 @@ steps: CACHIX_CACHE: xeals CACHIX_SIGNING_KEY: from_secret: cachix_key + NIXPKGS_ALLOW_UNFREE: 1 NUR_REPO: xeals --- @@ -47,6 +50,8 @@ steps: - nix eval -f default.nix 'lib' - nix eval -f default.nix 'modules' - nix eval -f default.nix 'overlays' + environment: + NIXPKGS_ALLOW_UNFREE: 1 - name: deploy image: nixpkgs/cachix @@ -56,6 +61,7 @@ steps: CACHIX_CACHE: xeals CACHIX_SIGNING_KEY: from_secret: cachix_key + NIXPKGS_ALLOW_UNFREE: 1 NUR_REPO: xeals --- @@ -77,6 +83,8 @@ steps: - nix eval -f default.nix 'lib' - nix eval -f default.nix 'modules' - nix eval -f default.nix 'overlays' + environment: + NIXPKGS_ALLOW_UNFREE: 1 - name: deploy image: nixpkgs/cachix @@ -86,6 +94,7 @@ steps: CACHIX_CACHE: xeals CACHIX_SIGNING_KEY: from_secret: cachix_key + NIXPKGS_ALLOW_UNFREE: 1 NUR_REPO: xeals ... diff --git a/default.nix b/default.nix index f36fe6e..f89a66c 100644 --- a/default.nix +++ b/default.nix @@ -76,7 +76,7 @@ rec { }; }); - polybar = polybar.overrideAttrs (oldAttrs: { + polybar = pkgs.polybar.overrideAttrs (oldAttrs: { # Enables an extra button in formatting, indirectly allowing the use of # the mouse forward and backward buttons. patches = (oldAttrs.patches or [ ]) ++ [ ./pkgs/applications/misc/polybar/9button.patch ];