This commit is contained in:
xyno (Philipp Hochkamp) 2023-06-22 17:17:56 +02:00
parent 31637568e2
commit ac505934cf
6 changed files with 135 additions and 212 deletions

View file

@ -1,9 +1,9 @@
{ disks ? [ "/dev/vda" ], ... }: {
{ ... }: {
disko.devices = {
disk = {
vda = {
type = "disk";
device = builtins.elemAt disks 0;
device = "/dev/vda";
content = {
type = "table";
format = "gpt";
@ -53,8 +53,8 @@
lvm_vg = {
pool = {
type = "lvm_vg";
nix = {
persistent = {
lvs = {
nix = {
size = "100%";
content = {
type = "filesystem";

View file

@ -6,11 +6,8 @@ let
pubkeys = import ../../data/pubkeys.nix;
in
{
imports = [ "${modulesPath}/profiles/qemu-guest.nix" inputs.disko.nixosModules.disko ];
imports = [ "${modulesPath}/profiles/qemu-guest.nix" inputs.disko.nixosModules.disko ./disk-config.nix ];
boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/d2cb12f8-67e3-4725-86c3-0b5c7ebee3a6";
disko.devices = import ./disk-config.nix {
inherit lib;
};
boot.initrd = {
network = {

View file

@ -267,10 +267,10 @@ in
ZED_EMAIL_PROG = "${pkgs.msmtp}/bin/msmtp";
ZED_EMAIL_OPTS = "@ADDRESS@";
ZED_NOTIFY_INTERVAL_SECS = 3600;
ZED_NOTIFY_INTERVAL_SECS = 7200;
#ZED_NOTIFY_VERBOSE = true;
ZED_USE_ENCLOSURE_LEDS = true;
ZED_USE_ENCLOSURE_LEDS = false;
ZED_SCRUB_AFTER_RESILVER = true;
};
@ -316,7 +316,6 @@ in
grafana.enable = true;
libvirt.enable = true;
paperless.enable = true;
unifi.enable = true;
};
};

View file

@ -50,6 +50,13 @@
forceSSL = true;
locations."/".proxyPass = "http://[::1]${config.services.xynoblog.listen}";
};
services.lolpizza2.enable = true;
services.nginx.virtualHosts."lolpizza.ragon.xyz" = {
useACMEHost = "ragon.xyz";
forceSSL = true;
locations."/".proxyPass = "http://[::1]${config.services.lolpizza2.listen}";
};
services.nginx.virtualHosts."xyno.systems" = {
enableACME = true;
forceSSL = true;