Advertisement
Guest User

Untitled

a guest
Nov 29th, 2024
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.30 KB | None | 0 0
  1. { config, pkgs, ... }:
  2.  
  3. {
  4. imports =
  5. [ # Include the results of the hardware scan.
  6. ./hardware-configuration.nix
  7. ];
  8.  
  9. # Bootloader.
  10. boot.loader.systemd-boot.enable = true;
  11. boot.loader.efi.canTouchEfiVariables = true;
  12.  
  13. networking.hostName = "nixos"; # Define your hostname.
  14.  
  15. # Enable networking
  16. networking.networkmanager.enable = true;
  17.  
  18. # Set your time zone.
  19. time.timeZone = "Asia/Kolkata";
  20.  
  21. # Select internationalisation properties.
  22. i18n.defaultLocale = "en_IN";
  23.  
  24. i18n.extraLocaleSettings = {
  25. LC_ADDRESS = "en_IN";
  26. LC_IDENTIFICATION = "en_IN";
  27. LC_MEASUREMENT = "en_IN";
  28. LC_MONETARY = "en_IN";
  29. LC_NAME = "en_IN";
  30. LC_NUMERIC = "en_IN";
  31. LC_PAPER = "en_IN";
  32. LC_TELEPHONE = "en_IN";
  33. LC_TIME = "en_IN";
  34. };
  35.  
  36. # Configure keymap in X11
  37. services.xserver.xkb = {
  38. layout = "us";
  39. variant = "";
  40. };
  41.  
  42. # Define a user account. Don't forget to set a password with ‘passwd’.
  43. users.users.ayu = {
  44. isNormalUser = true;
  45. description = "Ayushman Tiwari";
  46. extraGroups = [ "networkmanager" "wheel" ];
  47. packages = with pkgs; [
  48. neovim
  49. foot
  50. cinnamon.nemo-with-extensions
  51. gvfs
  52. glib
  53. nwg-look
  54. rofi-wayland
  55. chromium
  56. curl
  57. git
  58. wl-clipboard
  59. vscodium
  60. hyprpaper
  61. waybar
  62. libreoffice
  63. nitch
  64. gthumb
  65. spotify
  66. xdg-user-dirs
  67. ];
  68. shell = pkgs.fish;
  69. };
  70.  
  71. console = {
  72. font = "ter-i32b";
  73. packages = with pkgs; [ terminus_font ];
  74. keyMap = "us";
  75. };
  76.  
  77. # Allow unfree packages
  78. nixpkgs.config.allowUnfree = true;
  79.  
  80. programs.hyprland.enable = true;
  81.  
  82. programs.fish.enable = true;
  83.  
  84. environment.systemPackages = with pkgs; [
  85. sddm
  86. python3
  87. fish
  88. ];
  89.  
  90. fonts.packages = with pkgs; [
  91. (nerdfonts.override { fonts = [ "GeistMono" ]; })
  92. ];
  93.  
  94. security.rtkit.enable = true;
  95. services.pipewire = {
  96. enable = true;
  97. alsa.enable = true;
  98. pulse.enable = true; # PulseAudio emulation
  99. wireplumber.enable = true; # Use WirePlumber session manager
  100. };
  101.  
  102. services.displayManager.sddm.enable = true;
  103. services.displayManager.sddm.wayland.enable = true;
  104.  
  105. # System state version (leave this as is)
  106. system.stateVersion = "24.05"; # Did you read the comment?
  107.  
  108. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement