summaryrefslogtreecommitdiff
path: root/configuration.nix
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2023-06-27 18:04:30 +0530
committersinanmohd <sinan@sinanmohd.com>2023-06-27 18:04:30 +0530
commited41235dc6a82de27473e79a33864ccc75e3f700 (patch)
tree240ed0be9b7031997e0c8494513e6f10420ca0bd /configuration.nix
repo: initial commit
Diffstat (limited to 'configuration.nix')
-rw-r--r--configuration.nix46
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";
+}