flake/users/guanranwang/home-manager/nixos/dotfiles.nix

59 lines
1.2 KiB
Nix
Raw Normal View History

{...}: let
2023-11-05 09:21:37 +00:00
homePath = ../resources/dotfiles;
binPath = ../resources/dotfiles/bin;
configPath = ../resources/dotfiles/config;
dataPath = ../resources/dotfiles/data;
in {
2023-09-19 00:17:43 +00:00
xdg.configFile = {
"fontconfig" = {
source = "${configPath}/fontconfig";
recursive = true;
};
"hypr" = {
source = "${configPath}/hyprland";
recursive = true;
};
"picom" = {
source = "${configPath}/picom";
recursive = true;
};
"makepkgs.conf" = {
source = "${configPath}/makepkgs.conf";
};
"alsoft.conf" = {
source = "${configPath}/alsoft.conf";
};
};
xdg.dataFile = {
"backgrounds" = {
source = "${dataPath}/backgrounds";
recursive = true;
};
"icons" = {
source = "${dataPath}/icons";
recursive = true;
};
#"flatpak" = {
# source = "${dataPath}/flatpak";
# recursive = true;
#};
};
home.file = {
".local/bin" = {
source = "${binPath}";
recursive = true;
};
".drirc" = {
source = "${homePath}/.drirc";
recursive = true;
};
".xinitrc" = {
source = "${homePath}/.xinitrc";
recursive = true;
};
};
}