Regenerated

This commit is contained in:
2026-04-29 10:02:21 +02:00
parent f8bf8f54f1
commit bca90e6f34
84 changed files with 5507 additions and 423 deletions
+23 -19
View File
@@ -926,22 +926,23 @@ This is the install for Wofi, the launcher
let
username = config.defaultUser or "henrov";
assetPath = "${flakeRoot}/generated/.config/wofi";
sysName = "wofi";
assetPath = "${flakeRoot}/generated/.config/${sysName}";
in
{
environment.systemPackages = [ pkgs.wofi ];
home-manager.users = {
${username} = {
home.file = {
".config/wofi/config" = {
text = builtins.readFile "${assetPath}/config";
force = true;
};
".config/wofi/style.css" = {
text = builtins.replaceStrings ["PLACEHOLDER_USERNAME"] [username] (builtins.readFile "${assetPath}/style.css");
force = true;
};
home.activation.MakeWofiMutable = {
after = [ "writeBoundary" ];
before = [];
data = ''
rm -f $HOME/.config/${sysName}/*
cp ${assetPath}/* $HOME/.config/${sysName}/
chmod u+w $HOME/.config/${sysName}/*
find $HOME/.config/${sysName}/ -name "*.sh" -exec chmod +x {} \;
'';
};
};
};
@@ -1119,7 +1120,8 @@ Setting up Hyprland
{ lib, config, pkgs, flakeRoot, home-manager, inputs, ... }:
let
username = config.defaultUser or "henrov";
assetPath = "${flakeRoot}/generated/.config/hypr";
sysName = "hypr";
assetPath = "${flakeRoot}/generated/.config/${sysName}";
hyprlandPkg =
pkgs.hyprland or
pkgs.hyprland-git or
@@ -1141,9 +1143,10 @@ in
after = [ "writeBoundary" ];
before = [];
data = ''
rm -f $HOME/.config/hypr/*
cp ${assetPath}/* $HOME/.config/hypr/
chmod u+w $HOME/.config/hypr/*
rm -f $HOME/.config/${sysName}/*
cp ${assetPath}/* $HOME/.config/${sysName}/
chmod u+w $HOME/.config/${sysName}/*
find $HOME/.config/${sysName}/ -name "*.sh" -exec chmod +x {} \;
'';
};
};
@@ -1337,7 +1340,8 @@ This file installs and configures waybar
{ lib, config, pkgs, flakeRoot, ... }:
let
username = config.defaultUser or "henrov";
assetPath = "${flakeRoot}/generated/.config/waybar";
sysName = "waybar";
assetPath = "${flakeRoot}/generated/.config/${sysName}";
in
{
environment.systemPackages = [ pkgs.waybar ];
@@ -1347,10 +1351,10 @@ in
after = [ "writeBoundary" ];
before = [];
data = ''
rm -f $HOME/.config/waybar/*
cp ${assetPath}/* $HOME/.config/waybar/
chmod u+w $HOME/.config/waybar/*
find $HOME/.config/waybar/ -name "*.sh" -exec chmod +x {} \;
rm -f $HOME/.config/${sysName}/*
cp ${assetPath}/* $HOME/.config/${sysName}/
chmod u+w $HOME/.config/${sysName}/*
find $HOME/.config/${sysName}/ -name "*.sh" -exec chmod +x {} \;
'';
};
};