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

68 lines
1.7 KiB
Nix
Raw Permalink Normal View History

2024-08-26 17:38:47 +02:00
{ config, ... }:
{
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "24.05";
# {{{ Imports
imports = [
../common/global
../common/optional/users/pilot.nix
2024-08-27 23:47:44 +02:00
../common/optional/bluetooth.nix
2024-08-26 17:38:47 +02:00
../common/optional/greetd.nix
../common/optional/oci.nix
../common/optional/quietboot.nix
../common/optional/desktop
2024-08-27 23:47:44 +02:00
../common/optional/desktop/steam.nix
2024-08-26 17:38:47 +02:00
../common/optional/wayland/hyprland.nix
../common/optional/services/kanata.nix
2024-08-27 23:47:44 +02:00
../common/optional/services/nginx.nix
../common/optional/services/syncthing.nix
../common/optional/services/tailscale.nix
2024-08-27 23:47:44 +02:00
../common/optional/services/restic
../common/optional/services/iwd
2024-08-26 17:38:47 +02:00
./services/snapper.nix
./filesystems
./hardware
];
# }}}
# {{{ Machine ids
networking.hostName = "calypso";
2024-08-26 18:21:34 +02:00
networking.hostId = "3f69ae4b";
environment.etc.machine-id.text = "24fe28515de243f6ae4c6aa7e4291aac";
2024-08-26 17:38:47 +02:00
# }}}
# {{{ Tailscale internal IP DNS records
satellite.dns.records = [
{
at = config.networking.hostName;
type = "A";
value = "100.74.40.5";
}
{
at = config.networking.hostName;
type = "AAAA";
value = "fd7a:115c:a1e0::1201:2806";
}
2024-08-26 17:38:47 +02:00
];
# }}}
# {{{ A few ad-hoc programs
programs.kdeconnect.enable = true;
programs.firejail.enable = true;
programs.nix-ld.enable = true; # Useful for running non-nix executables
2024-11-09 12:45:25 +01:00
services.mullvad-vpn.enable = true;
2024-08-26 17:38:47 +02:00
# }}}
# {{{ SSH keys
users.users.pilot.openssh.authorizedKeys.keyFiles = [ ../tethys/keys/id_ed25519.pub ];
# }}}
2024-08-26 17:38:47 +02:00
programs.adb.enable = true;
users.users.pilot.extraGroups = [ "adbusers" ];
2024-08-26 17:38:47 +02:00
satellite.pilot.name = "moon";
boot.loader.systemd-boot.enable = true;
}