Point to correct configuration file.
parent
2a8b35c82e
commit
4149882ce8
|
@ -36,10 +36,12 @@ with lib;
|
|||
autoResize = true;
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
# Configured in `make-disk-image.nix`.
|
||||
{ device = "/dev/disk/by-label/swap"; }
|
||||
];
|
||||
|
||||
boot = {
|
||||
growPartition = true;
|
||||
kernelParams = [ "console=ttyS0" "panic=1" "boot.panic_on_fail" ];
|
||||
|
@ -51,11 +53,15 @@ with lib;
|
|||
grub.configurationLimit = 0;
|
||||
};
|
||||
};
|
||||
services.openssh = {
|
||||
enable = mkDefault true;
|
||||
settings.PasswordAuthentication = mkDefault false;
|
||||
|
||||
services = {
|
||||
do-agent.enable = mkDefault true;
|
||||
openssh = {
|
||||
enable = mkDefault true;
|
||||
settings.PasswordAuthentication = mkDefault false;
|
||||
};
|
||||
};
|
||||
services.do-agent.enable = mkDefault true;
|
||||
|
||||
networking = {
|
||||
hostName = mkDefault ""; # use Digital Ocean metadata server
|
||||
};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ system, stateVersion, sops-nix, modulesPath, pkgs, lib, ... }:
|
||||
{ system, stateVersion, sops-nix, pkgs, lib, ... }:
|
||||
let
|
||||
boardwise = builtins.getFlake
|
||||
"github:boardwise-gg/website/c605a09c56234b2c2c0e4593da8f3b798723a5d7";
|
||||
|
@ -7,7 +7,7 @@ let
|
|||
in
|
||||
{
|
||||
imports = lib.optional (builtins.pathExists ./do-userdata.nix) ./do-userdata.nix ++ [
|
||||
(modulesPath + "/virtualisation/digital-ocean-config.nix")
|
||||
../../digital-ocean/configuration.nix
|
||||
sops-nix.nixosModules.sops
|
||||
];
|
||||
|
||||
|
@ -65,7 +65,7 @@ in
|
|||
enable = true;
|
||||
virtualHosts = {
|
||||
"www.boardwise.gg" = {
|
||||
# forceSSL = true;
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
serverAliases = [ "boardwise.gg" ];
|
||||
locations."/" = {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ system, stateVersion, home-manager, modulesPath, lib, ... }:
|
||||
{ system, stateVersion, home-manager, lib, ... }:
|
||||
{
|
||||
imports = lib.optional (builtins.pathExists ./do-userdata.nix) ./do-userdata.nix ++ [
|
||||
(modulesPath + "/virtualisation/digital-ocean-config.nix")
|
||||
../../digital-ocean/configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in New Issue