I’m trying to use onedrive on 20.03. Sadly the systemd service cannot be found there and I have to use unstable to get it.
I wasn’t sure how to do it but some research shows that it can be done using imports, as below:
imports = [ <nixos/modules/services/networking/onedrive.nix> ];
disabledModules = [ “services/networking/onedrive.nix” ];
environment.systemPackages = with pkgs; [ onedrive ];
services.onedrive.enable = true;
And I build using:
sudo nixos-rebuild switch -I ~/git/nixpkgs/
and while there is no error the onedrive service is not installed…
Any hint as to where I’m going wrong?