nixos-configs/devices/wim/home/dotfiles.nix

37 lines
1.1 KiB
Nix
Raw Normal View History

2023-11-22 15:33:16 -05:00
{
config,
pkgs,
...
}: let
configDir = config.services.device-vars.configDir;
symlink = config.lib.file.mkOutOfStoreSymlink;
2023-11-22 15:33:16 -05:00
in {
2023-11-30 17:17:34 -05:00
wayland.windowManager.hyprland = {
settings = {
env = [
"AGS_PATH, ${configDir}/ags/bin"
"HYPR_PATH, ${configDir}/hypr/scripts"
"LOCK_PATH, ${configDir}/gtklock/scripts"
];
};
};
xdg.configFile = {
2023-11-22 15:33:16 -05:00
"gtklock/config.ini".source = pkgs.writeText "config.ini" ''
[main]
modules=${builtins.concatStringsSep ";" [
"${pkgs.gtklock-powerbar-module}/lib/gtklock/powerbar-module.so"
"${pkgs.gtklock-playerctl-module}/lib/gtklock/playerctl-module.so"
]}
2023-11-22 15:33:16 -05:00
'';
"gtklock/style.css".source = symlink "${configDir}/gtklock/style.css";
2023-08-27 10:31:41 -04:00
2023-11-22 15:33:16 -05:00
"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";
};
}