From b350263ed6d9cff4b096cfdfd5527955a6587cc0 Mon Sep 17 00:00:00 2001 From: Jimbo Date: Tue, 27 Aug 2024 14:31:28 -0400 Subject: [PATCH] Make nextcloud a service --- configuration.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/configuration.nix b/configuration.nix index 8d5dfe8..6852467 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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}";