From ed41235dc6a82de27473e79a33864ccc75e3f700 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Tue, 27 Jun 2023 18:04:30 +0530 Subject: repo: initial commit --- configuration.nix | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 configuration.nix (limited to 'configuration.nix') diff --git a/configuration.nix b/configuration.nix new file mode 100644 index 0000000..a813434 --- /dev/null +++ b/configuration.nix @@ -0,0 +1,46 @@ +{ config, pkgs, ... }: + +{ + imports = + [ # include the results of the hardware scan. + ./hardware-configuration.nix + ]; + + # boot + boot.loader = { + systemd-boot.enable = true; + efi.canTouchEfiVariables = true; + }; + + # netwroking + networking = { + hostName = "cez"; + wireless.iwd.enable = true; + }; + time.timeZone = "Asia/Kolkata"; + + # sound. + sound.enable = true; + hardware.pulseaudio.enable = true; + + # users + users.users.sinan = { + isNormalUser = true; + extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. + packages = with pkgs; [ + git + tmux + w3m + neofetch + ]; + }; + + # system + environment.systemPackages = with pkgs; [ + htop + curl + neovim + wget + ]; + system.stateVersion = "23.05"; +} -- cgit v1.2.3