lets see if this works

This commit is contained in:
Sakooooo 2024-08-01 16:03:15 +04:00
parent 55355f91c5
commit 1369bd38a1
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -1,14 +1,13 @@
{ outputs, options, config, lib, pkgs, ...}: { outputs, options, config, lib, pkgs, ...}:
with lib;
let let
cfg = config.modules.desktop.apps.localsend; cfg = config.modules.desktop.apps.localsend;
in in
{ {
options.modules.desktop.apps.localsend = { options.modules.desktop.apps.localsend = {
enable = mkEnableOption false; enable = lib.mkEnableOption false;
}; };
config = mkIf cfg.enable { config = lib.mkIf cfg.enable {
users.users.sako.packages = with pkgs; [ users.users.sako.packages = with pkgs; [
localsend localsend
]; ];