rename folder from home to profiles
This commit is contained in:
parent
d295ac2ea3
commit
d70ff2ea3f
11 changed files with 8 additions and 8 deletions
56
profiles/asakiyuki/files.nix
Normal file
56
profiles/asakiyuki/files.nix
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
{
|
||||
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