♻️ Replace imports with function argument, hyprpanel does not follow nixpkgs, git push alias

This commit is contained in:
2025-03-09 11:25:26 +01:00
parent a6cb4a5cf6
commit 1ff146e3c0
40 changed files with 214 additions and 332 deletions

View File

@ -1,14 +1,12 @@
{
pkgs,
inputs,
common,
theme,
lib,
...
}:
let
common = import ../../../common.nix;
theme = import ../../../theme.nix;
loader = import ../../secretsLoader.nix lib;
in
{
imports = [ inputs.hyprpanel.homeManagerModules.hyprpanel ];
@ -81,7 +79,7 @@ in
weather = {
unit = "metric";
location = "Bergen, Norway";
key = loader.loadSecret ../../secrets/weather-api-key;
key = common.loadSecret lib ../../secrets/weather-api-key;
};
};
@ -92,7 +90,7 @@ in
shortcut1 = {
command = common.default.browser;
icon = ""; # TODO replace with Zen icon
tooltip = "Zen";
tooltip = "Zen Browser";
};
shortcut2 = {
command = "spotify";