Regenerated

This commit is contained in:
2026-04-29 07:54:32 +02:00
parent b03354ec37
commit 415b1df455
3 changed files with 411 additions and 399 deletions
+393 -389
View File
File diff suppressed because it is too large Load Diff
+9 -5
View File
@@ -1341,20 +1341,24 @@ in
** =generated/modules/traveldroid/desktop/waybar.nix= ** =generated/modules/traveldroid/desktop/waybar.nix=
This file installs and configures waybar This file installs and configures waybar
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/desktop/waybar.nix :noweb yes :mkdirp yes :eval never #+BEGIN_SRC nix :tangle generated/modules/traveldroid/desktop/waybar.nix :noweb yes :mkdirp yes :eval never
{ lib, config, pkgs, repoPath, buildUser, mutableConfigPath, flakeRoot, ... }: { lib, config, pkgs, repoPath, buildUser, mutableConfigPath, ... }:
let let
username = config.defaultUser or "henrov"; username = config.defaultUser or "henrov";
waybarPath = "${mutableConfigPath}/waybar";
scriptsPath = "${mutableConfigPath}/scripts";
link = path: config.lib.file.mkOutOfStoreSymlink path;
in in
{ {
environment.systemPackages = [ pkgs.waybar ]; environment.systemPackages = [ pkgs.waybar ];
home-manager.users.${username} = { config, lib, ... }: home-manager.users.${username} = { config, lib, ... }:
let
link = path: config.lib.file.mkOutOfStoreSymlink path;
in
{ {
home.file = { home.file = {
".config/waybar/config.jsonc".source = ".config/waybar/config.jsonc".source = link "${waybarPath}/config.jsonc";
"${repoPath}/generated/.config/waybar/config.jsonc"; ".config/waybar/style-dark.css".source = link "${waybarPath}/style-dark.css";
".config/waybar/style-dark.css".source =
"${repoPath}/generated/.config/waybar/style-dark.css";
}; };
}; };
@@ -1,18 +1,22 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. --- # --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ lib, config, pkgs, repoPath, buildUser, mutableConfigPath, flakeRoot, ... }: { lib, config, pkgs, repoPath, buildUser, mutableConfigPath, ... }:
let let
username = config.defaultUser or "henrov"; username = config.defaultUser or "henrov";
waybarPath = "${mutableConfigPath}/waybar";
scriptsPath = "${mutableConfigPath}/scripts";
link = path: config.lib.file.mkOutOfStoreSymlink path;
in in
{ {
environment.systemPackages = [ pkgs.waybar ]; environment.systemPackages = [ pkgs.waybar ];
home-manager.users.${username} = { config, lib, ... }: home-manager.users.${username} = { config, lib, ... }:
let
link = path: config.lib.file.mkOutOfStoreSymlink path;
in
{ {
home.file = { home.file = {
".config/waybar/config.jsonc".source = ".config/waybar/config.jsonc".source = link "${waybarPath}/config.jsonc";
"${repoPath}/generated/.config/waybar/config.jsonc"; ".config/waybar/style-dark.css".source = link "${waybarPath}/style-dark.css";
".config/waybar/style-dark.css".source =
"${repoPath}/generated/.config/waybar/style-dark.css";
}; };
}; };