add services to cloudnix and domains to vars
This commit is contained in:
parent
27f9052eb8
commit
cfc8454540
2 changed files with 29 additions and 0 deletions
|
@ -30,10 +30,28 @@ in {
|
|||
../common/optional/openssh.nix
|
||||
|
||||
../common/optional/distributed-builds/local-machine.nix
|
||||
../common/optional/nixos-containers/semitamaps.nix
|
||||
../common/optional/nixos-containers/vaultwarden.nix
|
||||
../common/optional/fail2ban.nix
|
||||
../common/optional/restic-backup.nix
|
||||
|
||||
../common/optional/nginx/semitamaps.nix
|
||||
../common/optional/nginx/vaultwarden.nix
|
||||
|
||||
|
||||
outputs.nixosModules.nixosAutoUpgrade
|
||||
];
|
||||
|
||||
services.restic.backups = {
|
||||
daily = {
|
||||
paths = [
|
||||
"/persist/"
|
||||
];
|
||||
exclude = [
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
boot = {
|
||||
loader = {
|
||||
efi.canTouchEfiVariables = false;
|
||||
|
@ -62,6 +80,16 @@ in {
|
|||
user = "admin";
|
||||
};
|
||||
|
||||
environment.persistence."/persist" = {
|
||||
directories = [
|
||||
"/var/lib/tailscale"
|
||||
];
|
||||
files = [ "/etc/machine-id" ];
|
||||
};
|
||||
|
||||
# enable tailscale
|
||||
services.tailscale.enable = true;
|
||||
|
||||
networking = {
|
||||
hostName = "cloudnix";
|
||||
nameservers = ["8.8.8.8"];
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
email
|
||||
metrics-server
|
||||
xmpp
|
||||
domains
|
||||
;
|
||||
locations = {
|
||||
mediaDataMountPoint = "/media/media";
|
||||
|
|
Loading…
Add table
Reference in a new issue