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