diff options
author | sinanmohd <sinan@sinanmohd.com> | 2023-06-27 18:04:30 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2023-06-27 18:04:30 +0530 |
commit | ed41235dc6a82de27473e79a33864ccc75e3f700 (patch) | |
tree | 240ed0be9b7031997e0c8494513e6f10420ca0bd |
repo: initial commit
-rw-r--r-- | configuration.nix | 46 |
1 files changed, 46 insertions, 0 deletions
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"; +} |