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

47 lines
1.5 KiB
Nix
Raw Normal View History

2023-10-11 21:34:17 -04:00
{ config, pkgs, nixpkgs-wayland, ... }: let
waypkgs = nixpkgs-wayland.packages.x86_64-linux;
configDir = (import ../vars.nix).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
"discord/settings.json".source = symlink "${configDir}/discord/settings.json";
2023-09-13 14:11:03 -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";
};
programs = {
2023-07-15 14:28:12 -04:00
wofi = {
enable = true;
2023-10-11 21:34:17 -04:00
package = waypkgs.wofi;
2023-07-15 14:28:12 -04:00
settings = {
prompt = "";
allow_images = true;
2023-10-11 23:36:23 -04:00
normal_window = true;
2023-07-15 14:28:12 -04:00
image_size = "48";
matching = "fuzzy";
insensitive = true;
2023-10-11 23:36:23 -04:00
no_actions = true;
2023-07-15 14:28:12 -04:00
};
style = builtins.readFile ../config/wofi/style.css;
2023-07-15 14:28:12 -04:00
};
};
}