From 59180328cda59817d71cd58c8f48ead047375064 Mon Sep 17 00:00:00 2001 From: azahi Date: Mon, 17 Feb 2025 02:21:56 +0300 Subject: 2025-02-17 --- modules/psd.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'modules/psd.nix') diff --git a/modules/psd.nix b/modules/psd.nix index 5bb9dc3..17fa04e 100644 --- a/modules/psd.nix +++ b/modules/psd.nix @@ -4,16 +4,15 @@ pkgs, ... }: -with lib; let cfg = config.nixfiles.modules.psd; in { - options.nixfiles.modules.psd.enable = mkEnableOption "Profile Sync Daemon"; + options.nixfiles.modules.psd.enable = lib.mkEnableOption "Profile Sync Daemon"; - config = mkIf cfg.enable { + config = lib.mkIf cfg.enable { hm = { - home.packages = with pkgs; [ profile-sync-daemon ]; + home.packages = [ pkgs.profile-sync-daemon ]; xdg.configFile."psd/psd.conf".text = '' USE_OVERLAYFS="yes" @@ -24,7 +23,7 @@ in systemd.user = { services = let - exe = getExe' pkgs.profile-sync-daemon "profile-sync-daemon"; + exe = lib.getExe' pkgs.profile-sync-daemon "profile-sync-daemon"; in { psd = { -- cgit 1.4.1