lets see if this works
This commit is contained in:
parent
55355f91c5
commit
1369bd38a1
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue