1
Fork 0
satellite/hosts/nixos/lapetus/default.nix

80 lines
2.1 KiB
Nix
Raw Normal View History

2024-08-26 17:38:47 +02:00
{ config, ... }:
{
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "23.05";
# {{{ Imports
2023-07-17 16:50:07 +02:00
imports = [
../common/global
../common/optional/users/pilot.nix
2024-06-13 15:47:36 +02:00
../common/optional/oci.nix
2024-08-30 01:10:41 +02:00
../common/optional/services/tailscale.nix
2024-06-13 15:47:36 +02:00
../common/optional/services/acme.nix
../common/optional/services/kanata.nix
2024-06-13 15:47:36 +02:00
../common/optional/services/nginx.nix
../common/optional/services/postgres.nix
2024-07-08 03:06:27 +02:00
../common/optional/services/syncthing.nix
2024-05-30 02:35:16 +02:00
../common/optional/services/restic
../common/optional/services/wpa_supplicant.nix
2023-07-17 16:50:07 +02:00
2024-06-13 15:47:36 +02:00
# ./services/commafeed.nix
# ./services/ddclient.nix
2024-02-24 01:55:05 +01:00
./services/actual.nix
2024-06-13 15:47:36 +02:00
./services/cloudflared.nix
./services/diptime.nix
./services/forgejo.nix
2024-02-24 06:52:01 +01:00
./services/grafana.nix
2024-06-13 15:47:36 +02:00
./services/guacamole
./services/homer.nix
# ./services/intray.nix
2024-03-11 15:46:27 +01:00
./services/invidious.nix
2024-04-28 00:25:22 +02:00
./services/jellyfin.nix
2024-05-21 01:49:20 +02:00
./services/jupyter.nix
2024-06-13 15:47:36 +02:00
./services/microbin.nix
./services/pounce.nix
./services/prometheus.nix
./services/prometheus.nix
./services/qbittorrent.nix # turned on/off depending on whether my vpn is paid for
./services/radicale.nix
./services/redlib.nix
# ./services/smos.nix
2024-06-13 15:47:36 +02:00
./services/vaultwarden.nix
./services/whoogle.nix
./services/zfs.nix
./filesystems
./hardware
2023-07-17 16:50:07 +02:00
];
2024-08-26 17:38:47 +02:00
# }}}
# {{{ Machine ids
2023-07-17 16:50:07 +02:00
networking.hostName = "lapetus";
2023-07-17 19:44:54 +02:00
networking.hostId = "08357db3";
2023-07-18 15:16:57 +02:00
environment.etc.machine-id.text = "d9571439c8a34e34b89727b73bad3587";
2024-08-26 17:38:47 +02:00
# }}}
# {{{ Tailscale internal IP DNS records
2024-07-08 03:06:27 +02:00
satellite.dns.records = [
{
at = config.networking.hostName;
type = "A";
value = "100.93.136.59";
}
{
at = config.networking.hostName;
type = "AAAA";
value = "fd7a:115c:a1e0::e75d:883b";
}
];
2024-08-26 17:38:47 +02:00
# }}}
# {{{ SSH keys
users.users.pilot.openssh.authorizedKeys.keyFiles = [
../calypso/keys/id_ed25519.pub
../tethys/keys/id_ed25519.pub
];
users.users.root.openssh.authorizedKeys.keyFiles =
config.users.users.pilot.openssh.authorizedKeys.keyFiles;
# }}}
2024-08-26 17:38:47 +02:00
boot.loader.systemd-boot.enable = true;
2023-07-17 16:50:07 +02:00
}