Remove unnecessary quotes

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-07-02 19:30:22 +03:00
parent 6809acf2ae
commit 82c0175a19
28 changed files with 163 additions and 180 deletions

View File

@@ -1,11 +1,11 @@
{ user ? throw "user argument is required" }: { config, inputs, lib, pkgs, ... }:
let
hmConfig = config.home-manager.users."${user.name}";
hmConfig = config.home-manager.users.${user.name};
themeBin = lib.meta.getExe hmConfig.theme.pkg;
in
{
home-manager.users."${user.name}" = {
home-manager.users.${user.name} = {
theme.enable = true;
wayland.windowManager.hyprland.settings.bind = [
@@ -14,10 +14,7 @@ in
];
home = {
activation.themeInit = inputs.home-manager.lib.hm.dag.entryAfter [ "writeBoundary" ] ''
run ${themeBin}
'';
activation.themeInit = inputs.home-manager.lib.hm.dag.entryAfter [ "writeBoundary" ] "run ${themeBin}";
persistence."/persist${user.home}".directories = [ "${hmConfig.xdg.relativeConfigHome}/theme" ];
};
};