···11+# Edit this configuration file to define what should be installed on
22+# your system. Help is available in the configuration.nix(5) man page
33+# and in the NixOS manual (accessible by running ‘nixos-help’).
44+55+{ config, pkgs, ... }:
66+77+{
88+ imports =
99+ [ # Include the results of the hardware scan.
1010+ ./hardware-configuration.nix
1111+ ];
1212+1313+ # Bootloader.
1414+ boot.loader.systemd-boot.enable = true;
1515+ boot.loader.efi.canTouchEfiVariables = true;
1616+1717+ networking.hostName = "Khaos"; # Define your hostname.
1818+ # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
1919+2020+ # Configure network proxy if necessary
2121+ # networking.proxy.default = "http://user:password@proxy:port/";
2222+ # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
2323+2424+ # Enable networking
2525+ networking.networkmanager.enable = true;
2626+2727+ # Set your time zone.
2828+ time.timeZone = "America/Los_Angeles";
2929+3030+ # Select internationalisation properties.
3131+ i18n.defaultLocale = "en_US.UTF-8";
3232+3333+ i18n.extraLocaleSettings = {
3434+ LC_ADDRESS = "en_US.UTF-8";
3535+ LC_IDENTIFICATION = "en_US.UTF-8";
3636+ LC_MEASUREMENT = "en_US.UTF-8";
3737+ LC_MONETARY = "en_US.UTF-8";
3838+ LC_NAME = "en_US.UTF-8";
3939+ LC_NUMERIC = "en_US.UTF-8";
4040+ LC_PAPER = "en_US.UTF-8";
4141+ LC_TELEPHONE = "en_US.UTF-8";
4242+ LC_TIME = "en_US.UTF-8";
4343+ };
4444+4545+ # Configure keymap in X11
4646+ services.xserver.xkb = {
4747+ layout = "us";
4848+ variant = "";
4949+ };
5050+5151+ # Define a user account. Don't forget to set a password with ‘passwd’.
5252+ users.users.suri = {
5353+ isNormalUser = true;
5454+ description = "suri";
5555+ extraGroups = [ "networkmanager" "wheel" ];
5656+ packages = with pkgs; [];
5757+ };
5858+5959+ # Allow unfree packages
6060+ nixpkgs.config.allowUnfree = true;
6161+6262+ # List packages installed in system profile. To search, run:
6363+ # $ nix search wget
6464+ environment.systemPackages = with pkgs; [
6565+ helix
6666+git
6767+ # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
6868+ # wget
6969+ ];
7070+7171+ # Some programs need SUID wrappers, can be configured further or are
7272+ # started in user sessions.
7373+ # programs.mtr.enable = true;
7474+ # programs.gnupg.agent = {
7575+ # enable = true;
7676+ # enableSSHSupport = true;
7777+ # };
7878+7979+ # List services that you want to enable:
8080+8181+ # Enable the OpenSSH daemon.
8282+ services.openssh = {
8383+ enable = true;
8484+ ports = [22];
8585+ settings = {
8686+ PasswordAuthentication = true;
8787+ # allows all users
8888+ AllowedUsers = null;
8989+ UseDns = true;
9090+ PermitRootLogin = "prohibit-password";
9191+9292+ };
9393+ };
9494+9595+ # Open ports in the firewall.
9696+ networking.firewall.allowedTCPPorts = [ 22 ];
9797+ # networking.firewall.allowedUDPPorts = [ ... ];
9898+ # Or disable the firewall altogether.
9999+ # networking.firewall.enable = false;
100100+101101+ # This value determines the NixOS release from which the default
102102+ # settings for stateful data, like file locations and database versions
103103+ # on your system were taken. It‘s perfectly fine and recommended to leave
104104+ # this value at the release version of the first install of this system.
105105+ # Before changing this value read the documentation for this option
106106+ # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
107107+ system.stateVersion = "25.11"; # Did you read the comment?
108108+109109+}