refactor: pkgs paths to self

This commit is contained in:
Leon Schwarzäugl 2024-12-29 00:23:43 +01:00
parent b71bb5794a
commit d397be861b
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
26 changed files with 174 additions and 126 deletions

View file

@ -1,4 +1,4 @@
{ lib, pkgs, ... }:
{ self, lib, pkgs, ... }:
let
lock-false = {
Value = false;
@ -14,7 +14,7 @@ in
type = lib.types.attrs;
default = {
isDefault = false;
userChrome = builtins.readFile ../../programs/firefox/chrome/userChrome.css;
userChrome = builtins.readFile "${self}/programs/firefox/chrome/userChrome.css";
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
tridactyl
tampermonkey