Regenerated
This commit is contained in:
+393
-389
File diff suppressed because it is too large
Load Diff
+9
-5
@@ -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";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user