refactor(hyprland): move DE dotfiles to hyprland config
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
eb2c99313e
commit
07c169001f
9 changed files with 16 additions and 14 deletions
|
@ -38,7 +38,6 @@ in {
|
||||||
imports = [
|
imports = [
|
||||||
../../home/firefox
|
../../home/firefox
|
||||||
|
|
||||||
./home/dotfiles.nix
|
|
||||||
./home/packages.nix
|
./home/packages.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -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";
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,10 +1,12 @@
|
||||||
[Added Associations]
|
[Added Associations]
|
||||||
application/pdf=firefox.desktop;
|
application/pdf=firefox.desktop;
|
||||||
|
text/x-java=nvim.desktop;
|
||||||
x-scheme-handler/mailto=userapp-Thunderbird-9ME591.desktop;
|
x-scheme-handler/mailto=userapp-Thunderbird-9ME591.desktop;
|
||||||
x-scheme-handler/mid=userapp-Thunderbird-9ME591.desktop;
|
x-scheme-handler/mid=userapp-Thunderbird-9ME591.desktop;
|
||||||
|
|
||||||
[Default Applications]
|
[Default Applications]
|
||||||
application/pdf=firefox.desktop;
|
application/pdf=firefox.desktop;
|
||||||
message/rfc822=userapp-Thunderbird-9ME591.desktop
|
message/rfc822=userapp-Thunderbird-9ME591.desktop
|
||||||
|
text/x-java=nvim.desktop;
|
||||||
x-scheme-handler/mailto=userapp-Thunderbird-9ME591.desktop
|
x-scheme-handler/mailto=userapp-Thunderbird-9ME591.desktop
|
||||||
x-scheme-handler/mid=userapp-Thunderbird-9ME591.desktop
|
x-scheme-handler/mid=userapp-Thunderbird-9ME591.desktop
|
|
@ -17,6 +17,20 @@ in {
|
||||||
../../home/mpv
|
../../home/mpv
|
||||||
../../home/obs.nix
|
../../home/obs.nix
|
||||||
../../home/wofi
|
../../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; [
|
home.packages = with pkgs; [
|
||||||
|
|
Loading…
Reference in a new issue