mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
profile/sync: init from legacy
This commit is contained in:
parent
09ffed6661
commit
3c3fc6f527
5 changed files with 21 additions and 11 deletions
|
@ -7,5 +7,6 @@
|
|||
./clean
|
||||
./latex
|
||||
./printing
|
||||
./sync
|
||||
];
|
||||
}
|
||||
|
|
19
profiles/sync/default.nix
Normal file
19
profiles/sync/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
cfg = config.my.profiles.sync;
|
||||
in
|
||||
{
|
||||
options.my.profiles.sync = with lib; {
|
||||
enable = mkEnableOption "sync profile";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
croc
|
||||
magic-wormhole
|
||||
nextcloud-client
|
||||
syncthing
|
||||
vdirsyncer
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue