Added Nextcloud.
This commit is contained in:
parent
2287ca2423
commit
b29099a84b
23
modules/applications/nextcloud.nix
Normal file
23
modules/applications/nextcloud.nix
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{ config, lib, pkgs, ... }: {
|
||||||
|
home-manager.users.james = {
|
||||||
|
home.packages = with pkgs; [ nextcloud-client ];
|
||||||
|
|
||||||
|
systemd.user.services = {
|
||||||
|
nextcloud = {
|
||||||
|
Unit = {
|
||||||
|
Description = "Nextcloud - A slighly more GNU friendly dropbox";
|
||||||
|
BindsTo = [ "graphical-session.target" ];
|
||||||
|
Wants = [ "graphical-session-pre.target" ];
|
||||||
|
After = [ "graphical-session-pre.target" ];
|
||||||
|
};
|
||||||
|
Service = {
|
||||||
|
Type = "simple";
|
||||||
|
ExecStart = "${pkgs.nextcloud-client}/bin/nextclient --background";
|
||||||
|
Restart = "on-failure";
|
||||||
|
RestartSec = 1;
|
||||||
|
TimeoutStopSec = 10;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,6 +1,7 @@
|
||||||
{ config, lib, pkgs, ... }: {
|
{ config, lib, pkgs, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
../applications/firefox.nix
|
../applications/firefox.nix
|
||||||
|
../applications/nextcloud.nix
|
||||||
../boot.nix
|
../boot.nix
|
||||||
../cli.nix
|
../cli.nix
|
||||||
../fonts.nix
|
../fonts.nix
|
||||||
|
|
Reference in New Issue
Block a user