Regenerated
This commit is contained in:
+386
-387
File diff suppressed because it is too large
Load Diff
+5
-6
@@ -1325,26 +1325,26 @@ 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
|
||||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
|
||||||
{ lib, config, pkgs, repoPath, buildUser, mutableConfigPath, ... }:
|
{ lib, config, pkgs, repoPath, buildUser, mutableConfigPath, ... }:
|
||||||
let
|
let
|
||||||
username = config.defaultUser or "henrov";
|
username = config.defaultUser or "henrov";
|
||||||
waybarPath = "${mutableConfigPath}/waybar";
|
waybarPath = "${mutableConfigPath}/waybar";
|
||||||
scriptsPath = "${mutableConfigPath}/scripts";
|
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";
|
link "${waybarPath}/config.jsonc";
|
||||||
".config/waybar/style-dark.css".source =
|
".config/waybar/style-dark.css".source =
|
||||||
link "${waybarPath}/style-dark.css";
|
link "${waybarPath}/style-dark.css";
|
||||||
|
|
||||||
# Scripts — uncomment wanneer de bestanden aanwezig zijn
|
|
||||||
# ".config/scripts/bluetooth-status.sh".source =
|
# ".config/scripts/bluetooth-status.sh".source =
|
||||||
# link "${scriptsPath}/bluetooth-status.sh";
|
# link "${scriptsPath}/bluetooth-status.sh";
|
||||||
# ".config/scripts/hypr-workspaces.sh".source =
|
# ".config/scripts/hypr-workspaces.sh".source =
|
||||||
@@ -1352,7 +1352,6 @@ in
|
|||||||
# ".config/scripts/hypr-workspacesmenu.sh".source =
|
# ".config/scripts/hypr-workspacesmenu.sh".source =
|
||||||
# link "${scriptsPath}/hypr-workspacesmenu.sh";
|
# link "${scriptsPath}/hypr-workspacesmenu.sh";
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.user.services.waybar = {
|
systemd.user.services.waybar = {
|
||||||
|
|||||||
@@ -1,24 +1,24 @@
|
|||||||
# --- 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. ---
|
||||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
|
||||||
{ lib, config, pkgs, repoPath, buildUser, mutableConfigPath, ... }:
|
{ lib, config, pkgs, repoPath, buildUser, mutableConfigPath, ... }:
|
||||||
let
|
let
|
||||||
username = config.defaultUser or "henrov";
|
username = config.defaultUser or "henrov";
|
||||||
waybarPath = "${mutableConfigPath}/waybar";
|
waybarPath = "${mutableConfigPath}/waybar";
|
||||||
scriptsPath = "${mutableConfigPath}/scripts";
|
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";
|
link "${waybarPath}/config.jsonc";
|
||||||
".config/waybar/style-dark.css".source =
|
".config/waybar/style-dark.css".source =
|
||||||
link "${waybarPath}/style-dark.css";
|
link "${waybarPath}/style-dark.css";
|
||||||
|
|
||||||
# Scripts — uncomment wanneer de bestanden aanwezig zijn
|
|
||||||
# ".config/scripts/bluetooth-status.sh".source =
|
# ".config/scripts/bluetooth-status.sh".source =
|
||||||
# link "${scriptsPath}/bluetooth-status.sh";
|
# link "${scriptsPath}/bluetooth-status.sh";
|
||||||
# ".config/scripts/hypr-workspaces.sh".source =
|
# ".config/scripts/hypr-workspaces.sh".source =
|
||||||
@@ -26,7 +26,6 @@ in
|
|||||||
# ".config/scripts/hypr-workspacesmenu.sh".source =
|
# ".config/scripts/hypr-workspacesmenu.sh".source =
|
||||||
# link "${scriptsPath}/hypr-workspacesmenu.sh";
|
# link "${scriptsPath}/hypr-workspacesmenu.sh";
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.user.services.waybar = {
|
systemd.user.services.waybar = {
|
||||||
|
|||||||
Reference in New Issue
Block a user