server and other shit
This commit is contained in:
parent
270e1a0be4
commit
804371bf96
65 changed files with 1428 additions and 619 deletions
|
|
@ -12,6 +12,9 @@
|
|||
kde-connect = {
|
||||
enable = lib.mkEnableOption "enable kde-connect";
|
||||
};
|
||||
nextcloud = {
|
||||
enable = lib.mkEnableOption "enable nextcloud client";
|
||||
};
|
||||
syncthing = {
|
||||
enable = lib.mkEnableOption "enable syncthing";
|
||||
devices = lib.mkOption {
|
||||
|
|
@ -30,6 +33,17 @@
|
|||
};
|
||||
};
|
||||
config = {
|
||||
environment.systemPackages =
|
||||
with pkgs;
|
||||
[ ]
|
||||
++ (
|
||||
if config.apps.sync.nextcloud.enable then
|
||||
[
|
||||
nextcloud-client
|
||||
]
|
||||
else
|
||||
[ ]
|
||||
);
|
||||
programs = {
|
||||
kdeconnect =
|
||||
if config.apps.sync.kde-connect.enable then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue