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

51 lines
1.1 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;
};
#"picom" = {
# source = "${configPath}/picom";
# recursive = true;
#};
#"makepkgs.conf" = {
# source = "${configPath}/makepkgs.conf";
#};
#"alsoft.conf" = {
# source = "${configPath}/alsoft.conf";
#};
2023-09-19 00:17:43 +00:00
};
xdg.dataFile = {
"backgrounds" = {
source = "${dataPath}/backgrounds";
recursive = true;
};
#"flatpak" = {
# source = "${dataPath}/flatpak";
# recursive = true;
#};
};
home.sessionPath = ["$HOME/.local/bin"];
2023-09-19 00:17:43 +00:00
home.file = {
".local/bin" = {
source = "${binPath}";
recursive = true;
};
".drirc" = {
source = "${homePath}/.drirc";
recursive = true;
};
".xinitrc" = {
source = "${homePath}/.xinitrc";
recursive = true;
};
};
}