Regenerated

This commit is contained in:
2026-05-05 11:13:10 +02:00
parent 36303f5990
commit bbbee5efab
41 changed files with 2077 additions and 492 deletions
@@ -0,0 +1,37 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ lib, config, pkgs, flakeRoot, home-manager, inputs, ... }:
let
username = config.defaultUser or "henrov";
sysName = "hypr";
assetPath = "${flakeRoot}/generated/.config/${sysName}";
hyprlandPkg =
pkgs.hyprland or
pkgs.hyprland-git or
inputs.hyprland.packages.${pkgs.system}.default;
in
{
# Install Hyprland systemwide
programs.hyprland.enable = true;
programs.hyprland.withUWSM = true;
programs.hyprland.package = hyprlandPkg;
environment.systemPackages = [ hyprlandPkg ];
# Home Manager user configuration
home-manager.users = {
${username} = {
home.activation.MakeHyprMutable = {
after = [ "writeBoundary" ];
before = [];
data = ''
rm -rf $HOME/.config/${sysName}
mkdir -p $HOME/.config/${sysName}
cp -r ${assetPath}/* $HOME/.config/${sysName}/
chmod -R u+w $HOME/.config/${sysName}/
find $HOME/.config/${sysName}/ -name "*.sh" -exec chmod +x {} \;
'';
};
};
};
}