# Edit this configuration file to define what should be installed on # your system. Help is available in the configuration.nix(5) man page, on # https://search.nixos.org/options and in the NixOS manual (`nixos-help`). { config, lib, pkgs, ... }: { imports = [ ./hardware-configuration.nix ]; boot.loader.grub = { efiSupport = true; device = "nodev"; efiInstallAsRemovable = true; }; nix.settings.experimental-features = [ "nix-command" "flakes" ]; networking.hostName = "nixos"; networking.networkmanager.enable = true; # Set your time zone. time.timeZone = "UTC"; environment.systemPackages = with pkgs; [ vim git curl ghostty.terminfo wget ]; # Define a user account. Don't forget to set a password with ‘passwd’. # users.users.alice = { # isNormalUser = true; # extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. # packages = with pkgs; [ # tree # ]; # }; # Enable the OpenSSH daemon. services.openssh.enable = true; users.users.root.openssh.authorizedKeys.keys = [ # REPLACEME ]; # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ]; # Or disable the firewall altogether. # networking.firewall.enable = false; # Never change this system.stateVersion = "25.05"; }