nixos-configs/hosts/wim/modules/dotfiles.nix

26 lines
1 KiB
Nix
Raw Normal View History

2023-10-18 12:18:17 -04:00
{ config, pkgs, ... }: let
configDir = config.services.hostvars.configDir;
symlink = config.lib.file.mkOutOfStoreSymlink;
in
{
xdg.configFile = {
"swayosd/style.css".source = symlink "${configDir}/swayosd/style.css";
2023-08-07 21:39:05 -04:00
2023-10-01 09:22:32 -04: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-10-01 09:22:32 -04:00
'';
"gtklock/style.css".source = symlink "${configDir}/gtklock/style.css";
2023-08-27 10:31:41 -04: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";
};
}