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

81 lines
1.6 KiB
Nix
Raw Normal View History

2023-09-19 00:17:43 +00:00
{ ... }:
let
homePath = ../common/dotfiles;
binPath = ../common/dotfiles/bin;
configPath = ../common/dotfiles/config;
dataPath = ../common/dotfiles/data;
in
{
xdg.configFile = {
"foot" = {
source = "${configPath}/foot";
recursive = true;
};
"fish" = {
source = "${configPath}/fish";
recursive = true;
};
"fontconfig" = {
source = "${configPath}/fontconfig";
recursive = true;
};
"hypr" = {
source = "${configPath}/hyprland";
recursive = true;
};
"picom" = {
source = "${configPath}/picom";
recursive = true;
};
"rofi" = {
source = "${configPath}/rofi";
recursive = true;
};
"mpv" = {
source = "${configPath}/mpv";
recursive = true;
};
2023-10-18 09:45:08 +00:00
"dunst" = {
source = "${configPath}/dunst";
recursive = true;
};
2023-09-19 00:17:43 +00:00
"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;
};
};
}