a
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
@@ -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
|
||||
'';
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user