Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { config, pkgs, ... }:
- {
- imports =
- [ # Include the results of the hardware scan.
- ./hardware-configuration.nix
- ];
- # Bootloader.
- boot.loader.systemd-boot.enable = true;
- boot.loader.efi.canTouchEfiVariables = true;
- networking.hostName = "nixos"; # Define your hostname.
- # Enable networking
- networking.networkmanager.enable = true;
- # Set your time zone.
- time.timeZone = "Asia/Kolkata";
- # Select internationalisation properties.
- i18n.defaultLocale = "en_IN";
- i18n.extraLocaleSettings = {
- LC_ADDRESS = "en_IN";
- LC_IDENTIFICATION = "en_IN";
- LC_MEASUREMENT = "en_IN";
- LC_MONETARY = "en_IN";
- LC_NAME = "en_IN";
- LC_NUMERIC = "en_IN";
- LC_PAPER = "en_IN";
- LC_TELEPHONE = "en_IN";
- LC_TIME = "en_IN";
- };
- # Configure keymap in X11
- services.xserver.xkb = {
- layout = "us";
- variant = "";
- };
- # Define a user account. Don't forget to set a password with ‘passwd’.
- users.users.ayu = {
- isNormalUser = true;
- description = "Ayushman Tiwari";
- extraGroups = [ "networkmanager" "wheel" ];
- packages = with pkgs; [
- neovim
- foot
- cinnamon.nemo-with-extensions
- gvfs
- glib
- nwg-look
- rofi-wayland
- chromium
- curl
- git
- wl-clipboard
- vscodium
- hyprpaper
- waybar
- libreoffice
- nitch
- gthumb
- spotify
- xdg-user-dirs
- ];
- shell = pkgs.fish;
- };
- console = {
- font = "ter-i32b";
- packages = with pkgs; [ terminus_font ];
- keyMap = "us";
- };
- # Allow unfree packages
- nixpkgs.config.allowUnfree = true;
- programs.hyprland.enable = true;
- programs.fish.enable = true;
- environment.systemPackages = with pkgs; [
- sddm
- python3
- fish
- ];
- fonts.packages = with pkgs; [
- (nerdfonts.override { fonts = [ "GeistMono" ]; })
- ];
- security.rtkit.enable = true;
- services.pipewire = {
- enable = true;
- alsa.enable = true;
- pulse.enable = true; # PulseAudio emulation
- wireplumber.enable = true; # Use WirePlumber session manager
- };
- services.displayManager.sddm.enable = true;
- services.displayManager.sddm.wayland.enable = true;
- # System state version (leave this as is)
- system.stateVersion = "24.05"; # Did you read the comment?
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement