This commit is contained in:
Kris
2026-03-28 18:43:25 +02:00
parent c87bd55ce3
commit e4e6309652
44 changed files with 717 additions and 841 deletions

View File

@@ -217,6 +217,36 @@ in {
};
};
wayland.windowManager.hyprland = {
enable = true;
package = null;
portalPackage = null;
systemd.enable = true;
plugins = [];
extraConfig = builtins.readFile ../../config/hypr/hyprland.conf;
};
home.file.".config/hypr/config" = {
source = ../../config/hypr/config;
recursive = true;
};
home.file.".config/hypr/hyprlock.conf" = {
source = ../../config/hypr/hyprlock.conf;
};
home.file.".config/hypr/hyprpaper.conf" = {
source = ../../config/hypr/hyprpaper.conf;
};
home.file.".config/hypr/wallpaper.png" = {
source = ../../config/hypr/wallpaper.png;
};
home.file.".config/hypr/xdph.conf" = {
source = ../../config/hypr/xdph.conf;
};
home.file.".local/share/fonts/DotfilesFont.otf" = {
source = ../../config/dotfile_deps/DotfilesFont.otf;
};

View File

@@ -24,21 +24,4 @@
'';
};
system.activationScripts.linkDotConfigChildren = {
text = ''
config_root=/etc/nixos/config
target_root=/home/kris/.config
mkdir -p "$target_root"
for src in "$config_root"/*; do
name=$(basename "$src")
dst="$target_root/$name"
rm -rf "$dst"
ln -s "$src" "$dst"
chown -h kris:users "$dst"
done
'';
};
}