Compare commits
2 commits
be67bc49bb
...
2204f354ce
Author | SHA1 | Date | |
---|---|---|---|
Tristan Daniël Maat | 2204f354ce | ||
Tristan Daniël Maat | 40c137e613 |
|
@ -56,7 +56,6 @@
|
||||||
boot.kernelParams = ["highres=off" "nohz=off"];
|
boot.kernelParams = ["highres=off" "nohz=off"];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "tlaternet";
|
|
||||||
usePredictableInterfaceNames = false;
|
usePredictableInterfaceNames = false;
|
||||||
useDHCP = false;
|
useDHCP = false;
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,8 @@
|
||||||
# TODO(tlater): See if would be useful for anything?
|
# TODO(tlater): See if would be useful for anything?
|
||||||
boot.kernelParams = ["nosgx"];
|
boot.kernelParams = ["nosgx"];
|
||||||
|
|
||||||
services.nginx.domain = "116.202.158.55";
|
networking.hostName = "hetzner-1";
|
||||||
|
services.nginx.domain = "tlater.net";
|
||||||
|
|
||||||
systemd.network.networks."eth0" = {
|
systemd.network.networks."eth0" = {
|
||||||
matchConfig.MACAddress = "90:1b:0e:c1:8c:62";
|
matchConfig.MACAddress = "90:1b:0e:c1:8c:62";
|
||||||
|
|
|
@ -68,8 +68,8 @@
|
||||||
mountpoint = "/var";
|
mountpoint = "/var";
|
||||||
};
|
};
|
||||||
"/volume/nix-store" = {
|
"/volume/nix-store" = {
|
||||||
|
inherit mountOptions;
|
||||||
mountpoint = "/nix";
|
mountpoint = "/nix";
|
||||||
mountOptions = mountOptions ++ ["noacl"];
|
|
||||||
};
|
};
|
||||||
"/snapshots" = {};
|
"/snapshots" = {};
|
||||||
};
|
};
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
# Disable graphical tty so -curses works
|
# Disable graphical tty so -curses works
|
||||||
boot.kernelParams = ["nomodeset"];
|
boot.kernelParams = ["nomodeset"];
|
||||||
|
|
||||||
|
networking.hostName = "testvm";
|
||||||
# Sets the base domain for nginx to localhost so that we
|
# Sets the base domain for nginx to localhost so that we
|
||||||
# can easily test locally with the VM.
|
# can easily test locally with the VM.
|
||||||
services.nginx.domain = "localhost";
|
services.nginx.domain = "localhost";
|
||||||
|
|
|
@ -76,23 +76,23 @@ in {
|
||||||
# '';
|
# '';
|
||||||
# };
|
# };
|
||||||
|
|
||||||
# services.backups.forgejo = {
|
services.backups.forgejo = {
|
||||||
# user = "forgejo";
|
user = "forgejo";
|
||||||
# paths = [
|
paths = [
|
||||||
# "/var/lib/forgejo/forgejo-db.sql"
|
"/var/lib/forgejo/forgejo-db.sql"
|
||||||
# "/var/lib/forgejo/repositories/"
|
"/var/lib/forgejo/repositories/"
|
||||||
# "/var/lib/forgejo/data/"
|
"/var/lib/forgejo/data/"
|
||||||
# "/var/lib/forgejo/custom/"
|
"/var/lib/forgejo/custom/"
|
||||||
# # Conf is backed up via nix
|
# Conf is backed up via nix
|
||||||
# ];
|
];
|
||||||
# preparation = {
|
preparation = {
|
||||||
# packages = [config.services.postgresql.package];
|
packages = [config.services.postgresql.package];
|
||||||
# text = "pg_dump ${config.services.forgejo.database.name} --file=/var/lib/forgejo/forgejo-db.sql";
|
text = "pg_dump ${config.services.forgejo.database.name} --file=/var/lib/forgejo/forgejo-db.sql";
|
||||||
# };
|
};
|
||||||
# cleanup = {
|
cleanup = {
|
||||||
# packages = [pkgs.coreutils];
|
packages = [pkgs.coreutils];
|
||||||
# text = "rm /var/lib/forgejo/forgejo-db.sql";
|
text = "rm /var/lib/forgejo/forgejo-db.sql";
|
||||||
# };
|
};
|
||||||
# pauseServices = ["forgejo.service"];
|
pauseServices = ["forgejo.service"];
|
||||||
# };
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -139,11 +139,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1701473318,
|
"lastModified": 1709504473,
|
||||||
"narHash": "sha256-QdCJN8GeNl/V8wMjrvNkrWzNXnahgfjBfCSya4qQdrc=",
|
"narHash": "sha256-hXzXxaZaI9Pn5tO4otY2gJUvW/orDGDAMdstm3AY8RU=",
|
||||||
"owner": "reckenrode",
|
"owner": "reckenrode",
|
||||||
"repo": "nix-foundryvtt",
|
"repo": "nix-foundryvtt",
|
||||||
"rev": "f624c0ceabe13dd876ecff871e0dc7f55f96e993",
|
"rev": "5cf4e6d9ed7b662dbea7a61d785b67a878598986",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
Loading…
Reference in a new issue