Make nextcloud a service

This commit is contained in:
Jimbo 2024-08-27 14:31:28 -04:00
parent 2da4bd1d84
commit b350263ed6

View file

@ -15,17 +15,17 @@ in
"${homeManager}/nixos"
];
# Bootloader.
# Bootloader
boot.loader.grub = {
enable = true;
device = "/dev/sda";
};
# Hostname
networking.hostName = "freecornserver";
# Enable networking
networking.networkmanager.enable = true;
# Hostname and networking
networking = {
hostName = "freecornserver";
networkmanager.enable = true;
};
# Enable network manager applet
programs.nm-applet.enable = true;
@ -171,7 +171,7 @@ in
};
# Nextcloud server
nextcloud = {
services.nextcloud = {
enable = true;
package = pkgs.nextcloud29;
hostName = "cloud.${secrets.cornDomain}";