fix thing
This commit is contained in:
parent
8c1ed1dec3
commit
144088bad6
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue