removed uncessesary option for secondary drive
This commit is contained in:
parent
326bd3cb03
commit
782a3b6852
3 changed files with 42 additions and 6 deletions
24
modules/nixos/apps/onedrive/default.nix
Normal file
24
modules/nixos/apps/onedrive/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.wyrdgard;
|
||||
let
|
||||
cfg = config.wyrdgard.apps.onedrive;
|
||||
in
|
||||
{
|
||||
options.wyrdgard.apps.onedrive = with types; {
|
||||
enable = mkEnableOption "Enable OneDrive integration";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [ onedrivegui ];
|
||||
|
||||
services.onedrive = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue