{ pkgs, lib, ... }: let sshKeys = import ../../crypto/ssh-keys.nix; in { imports = [ ./hardware-configuration.nix ../../common/default.nix ../../common/locales/en.nix ../../common/locales/fr-keymap.nix ../../common/hardware/intel-cpu.nix ../../common/hardware/ssd.nix ../../common/hardware/btrfs.nix ../../common/packages/adguardhome.nix ../../common/packages/syncthing.nix ]; networking = { hostName = "phoenix"; firewall.allowedTCPPorts = [ 12345 # tildefriends 13378 # audiobookshelf ]; firewall.allowedUDPPorts = [ 12345 # tildefriends ]; }; users.users.user = { isNormalUser = true; description = "User"; extraGroups = ["networkmanager" "wheel" "syncthing"]; initialPassword = "correcthorsebatterystaple"; openssh.authorizedKeys.keys = [ sshKeys.new-new-phoenix.tasia ]; }; services.btrfs.autoScrub.fileSystems = lib.mkForce ["/" "/data"]; virtualisation.docker.enable = true; services.syncthing = { dataDir = lib.mkForce "/home/user"; configDir = lib.mkForce "/data/sync/configuration/"; }; environment.systemPackages = with pkgs; [ # ]; # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion system.stateVersion = "23.05"; }