{ pkgs, lib, ... }: { imports = [ ./hardware-configuration.nix ../../common/default.nix # ../../common/full-install.nix ../../common/locales/en.nix ../../common/locales/fr-keymap.nix ../../common/hardware/intelcpu.nix # ../../common/hardware/amdgpu.nix ../../common/hardware/ssd.nix ../../common/packages/syncthing.nix ../../common/packages/adguardhome.nix ]; networking = { hostName = "phoenix"; firewall.enable = true; 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 = [ # TODO: Add your SSH public key(s) here, if you plan on using SSH to connect ]; }; services.btrfs.autoScrub = { enable = true; interval = "weekly"; fileSystems = ["/" "/data"]; }; virtualisation.docker.enable = true; # Some programs need SUID wrappers, can be configured further or are # started in user sessions. programs.mtr.enable = true; programs.gnupg.agent = { enable = true; enableSSHSupport = true; }; services.syncthing = { dataDir = lib.mkForce "/home/user"; configDir = lib.mkForce "/data/sync/configuration/"; }; # Needed to build enry boot.binfmt.emulatedSystems = ["aarch64-linux"]; environment.systemPackages = with pkgs; [ # ]; # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion system.stateVersion = "23.05"; }