idk
This commit is contained in:
parent
1d97959a14
commit
8b2e1e2029
8 changed files with 24 additions and 9 deletions
|
|
@ -1,55 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
osconfig,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
home.file = lib.mkMerge [
|
||||
(builtins.mapAttrs (_: path: {
|
||||
source = path;
|
||||
}) osconfig.device.files.source)
|
||||
|
||||
(builtins.mapAttrs (_: path: {
|
||||
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/${path}";
|
||||
}) osconfig.device.files.symlink)
|
||||
|
||||
(lib.mkMerge (
|
||||
builtins.map (name: lib.setAttrByPath [ name "force" ] true) (
|
||||
builtins.attrNames osconfig.device.files.force
|
||||
)
|
||||
))
|
||||
|
||||
(lib.mkMerge (
|
||||
builtins.map (name: lib.setAttrByPath [ name "force" ] (lib.mkForce true)) (
|
||||
builtins.attrNames osconfig.device.files.mkForce
|
||||
)
|
||||
))
|
||||
];
|
||||
|
||||
xdg.configFile.kdeglobals =
|
||||
lib.mkIf (osconfig.device.wm.hyprland.enable || osconfig.device.wm.niri.enable)
|
||||
{
|
||||
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.name}
|
||||
|
||||
[Icons]
|
||||
Theme=Papirus
|
||||
''
|
||||
);
|
||||
};
|
||||
}
|
||||
Reference in a new issue