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

66 lines
1.6 KiB
Nix
Raw Permalink Normal View History

{ pkgs, config, ... }:
2024-08-05 20:31:34 +02:00
{
2024-08-26 17:38:47 +02:00
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "22.11";
2023-12-10 23:48:46 +01:00
# {{{ Imports
2023-01-10 02:38:06 +01:00
imports = [
../common/global
../common/optional/users/pilot.nix
2024-02-29 12:44:52 +01:00
../common/optional/bluetooth.nix
2023-07-22 16:21:29 +02:00
../common/optional/greetd.nix
2024-08-26 17:38:47 +02:00
../common/optional/oci.nix
2023-08-06 17:28:34 +02:00
../common/optional/quietboot.nix
2024-08-26 17:38:47 +02:00
../common/optional/desktop
2023-12-10 23:48:46 +01:00
../common/optional/desktop/steam.nix
../common/optional/wayland/hyprland.nix
2024-08-26 17:38:47 +02:00
../common/optional/services/wpa_supplicant.nix
2024-08-30 01:10:41 +02:00
../common/optional/services/tailscale.nix
2024-05-30 02:35:16 +02:00
../common/optional/services/kanata.nix
../common/optional/services/restic
2024-08-26 19:49:12 +02:00
../common/optional/services/nginx.nix
2024-08-26 17:38:47 +02:00
./services/syncthing.nix
2023-01-10 02:38:06 +01:00
./hardware
2023-01-10 02:38:06 +01:00
./boot.nix
];
2023-12-10 23:48:46 +01:00
# }}}
# {{{ Machine ids
networking.hostName = "tethys";
environment.etc.machine-id.text = "08357db3540c4cd2b76d4bb7f825ec88";
# }}}
2023-05-28 00:41:22 +02:00
# {{{ A few ad-hoc programs
programs.kdeconnect.enable = true;
2023-11-04 18:58:09 +01:00
programs.firejail.enable = true;
2024-08-26 17:38:47 +02:00
services.mullvad-vpn.enable = true;
services.mysql = {
enable = true;
package = pkgs.mysql80;
};
2024-08-26 17:38:47 +02:00
# }}}
# {{{ Ad-hoc stylix targets
stylix.targets.gtk.enable = true;
# }}}
# {{{ 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-07-08 03:06:27 +02:00
];
2024-08-26 17:38:47 +02:00
# }}}
# {{{ SSH keys
users.users.pilot.openssh.authorizedKeys.keyFiles = [ ../calypso/keys/id_ed25519.pub ];
# }}}
2023-01-10 02:38:06 +01:00
}