From 144088bad6418a7c17e0687837a321ce76897908 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Mon, 29 Jan 2024 11:57:00 +0400 Subject: [PATCH] fix thing --- modules/desktop/picom/default.nix | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/modules/desktop/picom/default.nix b/modules/desktop/picom/default.nix index d713bd4e..9c17decd 100644 --- a/modules/desktop/picom/default.nix +++ b/modules/desktop/picom/default.nix @@ -1,18 +1,23 @@ -{ outputs, options, config, lib, pkgs, ...}: -with lib; -let - cfg = config.modules.desktop.picom; -in { + outputs, + options, + config, + lib, + pkgs, + ... +}: +with lib; let + cfg = config.modules.desktop.picom; +in { options.modules.desktop.picom = { enable = mkEnableOption false; }; config = mkIf cfg.enable { - environment.systemPackages = with pkgs; [ + users.users.sako.packages = with pkgs; [ picom ]; - home-manager.users.sako = { pkgs, ...}: { + home-manager.users.sako = {pkgs, ...}: { xdg.configFile = { picom = { source = ../../../config/picom;