{ config, pkgs, ... }: { imports = [ ./packages/default.nix ./virtualization.nix ./users.nix ./flatpak.nix ./hosts.nix ./yubikey.nix ]; # Bootloader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; # Enable networking networking.networkmanager.enable = true; # Set your time zone. time.timeZone = "Europe/Amsterdam"; # Enable experimental nix-command flakes nix = { package = pkgs.nixFlakes; extraOptions = '' experimental-features = nix-command flakes ''; }; # Select internationalisation properties. i18n.defaultLocale = "en_US.UTF-8"; i18n.extraLocaleSettings = { LC_ADDRESS = "nl_NL.UTF-8"; LC_IDENTIFICATION = "nl_NL.UTF-8"; LC_MEASUREMENT = "nl_NL.UTF-8"; LC_MONETARY = "nl_NL.UTF-8"; LC_NAME = "nl_NL.UTF-8"; LC_NUMERIC = "nl_NL.UTF-8"; LC_PAPER = "nl_NL.UTF-8"; LC_TELEPHONE = "nl_NL.UTF-8"; LC_TIME = "nl_NL.UTF-8"; }; environment.systemPackages = with pkgs; [ tailscale pciutils ]; services.tailscale.enable = true; # Allow unfree packages nixpkgs.config.allowUnfree = true; # Enable the OpenSSH daemon. # services.openssh = { # enable = true; # port = 400; # permitRootLogin = "no"; # passwordAuthentication = false; # pubkeyAuthentication = true; # }; # Open ports in the firewall. networking.firewall = { enable = true; allowedTCPPorts = [ 3389 3390 3391 ]; allowedUDPPorts = [ 3389 3390 3391 ]; }; # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave # this value at the release version of the first install of this system. # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). system.stateVersion = "24.05"; # Did you read the comment? }