Added nextcloud
This commit is contained in:
1 parent
d660b0fb36
commit
fbab268555
3 files changed
+37
-2
No files matched your search
@@ -0,0 +1,21 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.samfelag.modules.app.nextcloud;
|
||||
in
|
||||
{
|
||||
options.samfelag.modules.app.nextcloud = {
|
||||
enable = lib.mkEnableOption "nextcloud";
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
nextcloud-client
|
||||
];
|
||||
|
||||
hm.services.nextcloud-client = {
|
||||
enable = true;
|
||||
startInBackground = true;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user