44 lines
1.3 KiB
Nix
44 lines
1.3 KiB
Nix
let
|
|
configDir = ../config;
|
|
browser = "firefox.desktop";
|
|
in
|
|
{
|
|
home.file = {
|
|
".config/wallpapers".source = "${configDir}/wallpapers";
|
|
".config/neofetch".source = "${configDir}/neofetch";
|
|
".config/wlogout".source = "${configDir}/wlogout";
|
|
".config/btop".source = "${configDir}/btop";
|
|
".config/rofi".source = "${configDir}/rofi";
|
|
".config/scripts".source = "${configDir}/scripts";
|
|
".config/starship.toml".source = "${configDir}/starship/starship.toml";
|
|
".config/macchiato.toml".source = "${configDir}/starship/macchiato.toml";
|
|
".config/gh" = {
|
|
recursive = true;
|
|
source = "${configDir}/gh";
|
|
};
|
|
".local/share/fcitx5/themes/fcitx5-dark-transparent" = {
|
|
recursive = true;
|
|
source = "${configDir}/fcitx5-dark-transparent";
|
|
};
|
|
".config/fcitx5/conf" = {
|
|
recursive = true;
|
|
source = "${configDir}/fcitx5";
|
|
};
|
|
".face".source = "${configDir}/.face";
|
|
};
|
|
|
|
xdg.mimeApps = {
|
|
enable = true;
|
|
associations.added = {
|
|
"application/pdf" = [ browser ];
|
|
"image/jpeg" = [ browser ];
|
|
"image/png" = [ browser ];
|
|
};
|
|
defaultApplications = {
|
|
"text/html" = browser;
|
|
"application/pdf" = [ browser ];
|
|
"image/jpeg" = [ browser ];
|
|
"image/png" = [ browser ];
|
|
};
|
|
};
|
|
}
|