Regenerated
This commit is contained in:
+395
-403
File diff suppressed because it is too large
Load Diff
+14
-22
@@ -1325,46 +1325,40 @@ 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";
|
||||||
basePath = mutableConfigPath;
|
|
||||||
waybarPath = "${mutableConfigPath}/waybar";
|
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
|
|
||||||
# Helper to make out-of-store symlinks (clean + re
|
|
||||||
link = path: config.lib.file.mkOutOfStoreSymlink path;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
home.file = {
|
home.file = {
|
||||||
# --- Waybar config (REAL symlinks, not copied into store)
|
|
||||||
".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";
|
||||||
/*
|
|
||||||
".config/scripts/bluetooth-status.sh".source =
|
|
||||||
link "${basePath}/scripts/bluetooth-status.sh";
|
|
||||||
|
|
||||||
".config/scripts/hypr-workspaces.sh".source =
|
# Scripts — uncomment wanneer de bestanden aanwezig zijn
|
||||||
link "${basePath}/scripts/hypr-workspaces.sh";
|
# ".config/scripts/bluetooth-status.sh".source =
|
||||||
|
# link "${scriptsPath}/bluetooth-status.sh";
|
||||||
".config/scripts/hypr-workspacesmenu.sh".source =
|
# ".config/scripts/hypr-workspaces.sh".source =
|
||||||
link "${basePath}/scripts/hypr-workspacesmenu.sh";
|
# link "${scriptsPath}/hypr-workspaces.sh";
|
||||||
*/
|
# ".config/scripts/hypr-workspacesmenu.sh".source =
|
||||||
|
# link "${scriptsPath}/hypr-workspacesmenu.sh";
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.user.services.waybar = {
|
systemd.user.services.waybar = {
|
||||||
description = "Waybar for Hyprland";
|
description = "Waybar for Hyprland";
|
||||||
after = [ "graphical-session.target" ];
|
after = [ "graphical-session.target" ];
|
||||||
|
wantedBy = [ "default.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${pkgs.waybar}/bin/waybar";
|
ExecStart = "${pkgs.waybar}/bin/waybar";
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
@@ -1373,8 +1367,6 @@ in
|
|||||||
XDG_CURRENT_DESKTOP=Hyprland
|
XDG_CURRENT_DESKTOP=Hyprland
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
wantedBy = [ "default.target" ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|||||||
@@ -1,44 +1,38 @@
|
|||||||
# --- 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";
|
||||||
basePath = mutableConfigPath;
|
|
||||||
waybarPath = "${mutableConfigPath}/waybar";
|
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
|
|
||||||
# Helper to make out-of-store symlinks (clean + re
|
|
||||||
link = path: config.lib.file.mkOutOfStoreSymlink path;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
home.file = {
|
home.file = {
|
||||||
# --- Waybar config (REAL symlinks, not copied into store)
|
|
||||||
".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";
|
||||||
/*
|
|
||||||
".config/scripts/bluetooth-status.sh".source =
|
|
||||||
link "${basePath}/scripts/bluetooth-status.sh";
|
|
||||||
|
|
||||||
".config/scripts/hypr-workspaces.sh".source =
|
# Scripts — uncomment wanneer de bestanden aanwezig zijn
|
||||||
link "${basePath}/scripts/hypr-workspaces.sh";
|
# ".config/scripts/bluetooth-status.sh".source =
|
||||||
|
# link "${scriptsPath}/bluetooth-status.sh";
|
||||||
".config/scripts/hypr-workspacesmenu.sh".source =
|
# ".config/scripts/hypr-workspaces.sh".source =
|
||||||
link "${basePath}/scripts/hypr-workspacesmenu.sh";
|
# link "${scriptsPath}/hypr-workspaces.sh";
|
||||||
*/
|
# ".config/scripts/hypr-workspacesmenu.sh".source =
|
||||||
|
# link "${scriptsPath}/hypr-workspacesmenu.sh";
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.user.services.waybar = {
|
systemd.user.services.waybar = {
|
||||||
description = "Waybar for Hyprland";
|
description = "Waybar for Hyprland";
|
||||||
after = [ "graphical-session.target" ];
|
after = [ "graphical-session.target" ];
|
||||||
|
wantedBy = [ "default.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${pkgs.waybar}/bin/waybar";
|
ExecStart = "${pkgs.waybar}/bin/waybar";
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
@@ -47,7 +41,5 @@ in
|
|||||||
XDG_CURRENT_DESKTOP=Hyprland
|
XDG_CURRENT_DESKTOP=Hyprland
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
wantedBy = [ "default.target" ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user