refactor(hyprland): move DE dotfiles to hyprland config
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-03-18 10:34:28 -04:00
parent eb2c99313e
commit 07c169001f
9 changed files with 16 additions and 14 deletions

View file

@ -38,7 +38,6 @@ in {
imports = [
../../home/firefox
./home/dotfiles.nix
./home/packages.nix
];

View file

@ -1,13 +0,0 @@
{config, ...}: let
inherit (config.vars) configDir;
symlink = config.lib.file.mkOutOfStoreSymlink;
in {
xdg.configFile = {
"dolphinrc".source = symlink "${configDir}/dolphinrc";
"kdeglobals".source = symlink "${configDir}/kdeglobals";
"kiorc".source = symlink "${configDir}/kiorc";
"mimeapps.list".source = symlink "${configDir}/mimeapps.list";
"neofetch".source = symlink "${configDir}/neofetch";
"swappy".source = symlink "${configDir}/swappy";
};
}

View file

@ -1,10 +1,12 @@
[Added Associations]
application/pdf=firefox.desktop;
text/x-java=nvim.desktop;
x-scheme-handler/mailto=userapp-Thunderbird-9ME591.desktop;
x-scheme-handler/mid=userapp-Thunderbird-9ME591.desktop;
[Default Applications]
application/pdf=firefox.desktop;
message/rfc822=userapp-Thunderbird-9ME591.desktop
text/x-java=nvim.desktop;
x-scheme-handler/mailto=userapp-Thunderbird-9ME591.desktop
x-scheme-handler/mid=userapp-Thunderbird-9ME591.desktop

View file

@ -17,6 +17,20 @@ in {
../../home/mpv
../../home/obs.nix
../../home/wofi
({config, ...}: let
symlink = config.lib.file.mkOutOfStoreSymlink;
configDir = "/home/${mainUser}/.nix/modules/hyprland/config";
in {
xdg.configFile = {
"dolphinrc".source = symlink "${configDir}/dolphinrc";
"kdeglobals".source = symlink "${configDir}/kdeglobals";
"kiorc".source = symlink "${configDir}/kiorc";
"mimeapps.list".source = symlink "${configDir}/mimeapps.list";
"neofetch".source = symlink "${configDir}/neofetch";
"swappy".source = symlink "${configDir}/swappy";
};
})
];
home.packages = with pkgs; [