This repository has been archived on 2026-04-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
AsaJS/home/asakiyuki/modules/files.nix
2026-04-09 13:55:33 +07:00

28 lines
No EOL
1.2 KiB
Nix

{ pkgs, lib, osconfig, ... }:
{
home.file = {
".config/qt5ct/colors/Catppuccin-Mocha.conf".source = "${pkgs.catppuccin-qt5ct}/share/qt5ct/colors/catppuccin-mocha-sapphire.conf";
".config/qt6ct/colors/Catppuccin-Mocha.conf".source = "${pkgs.catppuccin-qt5ct}/share/qt6ct/colors/catppuccin-mocha-sapphire.conf";
".local/share/kio/servicemenus/open-with-code.desktop".source = ../../../configs/services-menu/open-with-code.desktop;
".local/share/kio/servicemenus/open-ghostty-here.desktop".source = ../../../configs/services-menu/open-ghostty-here.desktop;
".mozilla/firefox/default/search.json.mozlz4".force = lib.mkForce true;
".config/dolphinrc" = {
force = true;
source = ../../../configs/dolphinrc;
};
};
xdg.configFile = {
kdeglobals.text = builtins.readFile ((pkgs.catppuccin-kde.override { flavour = ["mocha"]; accents = ["sapphire"]; }) + "/share/color-schemes/CatppuccinMochaSapphire.colors") +
''
[UiSettings]
ColorScheme=qt6ct
[General]
TerminalApplication=${osconfig.device.programs.terminal}
'';
};
}