add nextcloud
This commit is contained in:
parent
127d9ac718
commit
a798b5689d
3 changed files with 19 additions and 0 deletions
|
@ -40,6 +40,7 @@
|
||||||
kindle-comic-converter.enable = true;
|
kindle-comic-converter.enable = true;
|
||||||
mangal.enable = true;
|
mangal.enable = true;
|
||||||
obs.enable = true;
|
obs.enable = true;
|
||||||
|
nextcloud.enable = true;
|
||||||
};
|
};
|
||||||
chat = {
|
chat = {
|
||||||
discord.enable = true;
|
discord.enable = true;
|
||||||
|
|
|
@ -10,5 +10,6 @@
|
||||||
./calibre
|
./calibre
|
||||||
./mangal
|
./mangal
|
||||||
./obs
|
./obs
|
||||||
|
./nextcloud
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
17
modules/desktop/apps/nextcloud/default.nix
Normal file
17
modules/desktop/apps/nextcloud/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{ outputs, options, config, lib, pkgs, ...}:
|
||||||
|
with lib;
|
||||||
|
let
|
||||||
|
cfg = config.modules.desktop.apps.nextcloud;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.modules.desktop.apps.nextcloud = {
|
||||||
|
enable = mkEnableOption false;
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
users.users.sako.packages = with pkgs; [
|
||||||
|
nextcloud-client
|
||||||
|
];
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue