feat: symlink configs directly to not have to rebuild every time

This commit is contained in:
matt1432 2023-06-27 23:41:01 +02:00
parent c5e052386b
commit fb0a62ad68

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: let
{ pkgs, config, ... }: let
configDir = "/home/matt/.nix/configs";
@ -43,8 +43,8 @@ in
'';
};
xdg.configFile = {
"hypr/main.conf".source = "${configDir}/hypr/main.conf";
"hypr/hyprpaper.conf".source = "${configDir}/hypr/hyprpaper.conf";
home.file = {
".config/hypr/main.conf".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/hypr/main.conf";
".config/hypr/hyprpaper.conf".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/hypr/hyprpaper.conf";
};
}