summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-06-27 18:04:30 +0530
committersinanmohd <sinan@firemail.cc>2023-06-27 18:04:30 +0530
commitdc76a843a8e6b5254bef2bd76dc9c7db4d81f810 (patch)
tree240ed0be9b7031997e0c8494513e6f10420ca0bd
repo: initial commit
-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";
+}