Make nextcloud a service
This commit is contained in:
parent
2da4bd1d84
commit
b350263ed6
|
@ -15,17 +15,17 @@ in
|
||||||
"${homeManager}/nixos"
|
"${homeManager}/nixos"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader
|
||||||
boot.loader.grub = {
|
boot.loader.grub = {
|
||||||
enable = true;
|
enable = true;
|
||||||
device = "/dev/sda";
|
device = "/dev/sda";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Hostname
|
# Hostname and networking
|
||||||
networking.hostName = "freecornserver";
|
networking = {
|
||||||
|
hostName = "freecornserver";
|
||||||
# Enable networking
|
networkmanager.enable = true;
|
||||||
networking.networkmanager.enable = true;
|
};
|
||||||
|
|
||||||
# Enable network manager applet
|
# Enable network manager applet
|
||||||
programs.nm-applet.enable = true;
|
programs.nm-applet.enable = true;
|
||||||
|
@ -171,7 +171,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
# Nextcloud server
|
# Nextcloud server
|
||||||
nextcloud = {
|
services.nextcloud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.nextcloud29;
|
package = pkgs.nextcloud29;
|
||||||
hostName = "cloud.${secrets.cornDomain}";
|
hostName = "cloud.${secrets.cornDomain}";
|
||||||
|
|
Reference in a new issue