Regenerated
This commit is contained in:
@@ -1,26 +1,16 @@
|
||||
# --- 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, flakeRoot, ... }:
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
waybarPath = "${mutableConfigPath}/waybar";
|
||||
scriptsPath = "${mutableConfigPath}/scripts";
|
||||
link = path: config.lib.file.mkOutOfStoreSymlink path;
|
||||
waybarPath = "${flakeRoot}/generated/.config/waybar";
|
||||
in
|
||||
{
|
||||
environment.systemPackages = [ pkgs.waybar ];
|
||||
|
||||
home-manager.users.${username} = { config, lib, ... }:
|
||||
let
|
||||
link = path: config.lib.file.mkOutOfStoreSymlink path;
|
||||
in
|
||||
{
|
||||
home-manager.users.${username} = {
|
||||
home.file = {
|
||||
".config/waybar/config.jsonc" = {
|
||||
source = config.lib.file.mkOutOfStoreSymlink (builtins.toString "${waybarPath}/config.jsonc");
|
||||
};
|
||||
".config/waybar/style-dark.css" = {
|
||||
source = config.lib.file.mkOutOfStoreSymlink (builtins.toString "${waybarPath}/style-dark.css");
|
||||
};
|
||||
".config/waybar/config.jsonc".source = "${waybarPath}/config.jsonc";
|
||||
".config/waybar/style-dark.css".source = "${waybarPath}/style-dark.css";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user