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
|
|
|
|
|
2024-08-31 18:38:31 +02:00
|
|
|
../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
|
2024-09-11 15:59:57 +02:00
|
|
|
../common/optional/services/tailscale.nix
|
2024-08-27 23:47:44 +02:00
|
|
|
../common/optional/services/restic
|
2024-09-11 15:59:57 +02:00
|
|
|
../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 = [
|
2024-10-11 13:18:05 +02:00
|
|
|
{
|
|
|
|
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;
|
2024-10-11 12:16:46 +02:00
|
|
|
programs.nix-ld.enable = true; # Useful for running non-nix executables
|
2024-08-26 17:38:47 +02:00
|
|
|
# }}}
|
2024-09-24 05:41:40 +02:00
|
|
|
# {{{ SSH keys
|
|
|
|
users.users.pilot.openssh.authorizedKeys.keyFiles = [ ../tethys/keys/id_ed25519.pub ];
|
|
|
|
# }}}
|
2024-08-26 17:38:47 +02:00
|
|
|
|
2024-10-11 12:16:46 +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;
|
|
|
|
}
|