Advertisement
Guest User

home.nix

a guest
Apr 11th, 2024
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.19 KB | None | 0 0
  1. { config, pkgs, ... }:
  2.  
  3. {
  4. targets.genericLinux.enable = true;
  5. ### Imports ###
  6. # imports =[];
  7.  
  8. ### Overlays/Unfree ###
  9. nixpkgs = {
  10. # You can add overlays here
  11. # overlays = [
  12. #
  13. # ];
  14. # Configure your nixpkgs instance
  15. config = {
  16. allowUnfree = true;
  17. # Workaround for https://github.com/nix-community/home-manager/issues/2942
  18. # allowUnfreePredicate = _: true;
  19. };
  20. };
  21.  
  22. ### User Info ###
  23. home.username = "Vandush";
  24. home.homeDirectory = "/home/Vandush";
  25.  
  26. ### Config Version ###
  27. home.stateVersion = "23.11"; # Please read the comment before changing.
  28.  
  29. ### Packages ###
  30. home.packages = with pkgs; [
  31. #Window Managers#
  32. awesome
  33. hyprland
  34.  
  35. #Browsers#
  36. firefox
  37. librewolf
  38.  
  39. #Text Editors#
  40. vim
  41. libreoffice
  42.  
  43. #Terminals#
  44. kitty
  45.  
  46. #Terminal Apps#
  47. #fastfetch #It wont see the nix installed packages when installed through nix.
  48. #htop
  49.  
  50. #Games# #Will probably have to add 'nixVulkanIntel %command%' to launch options
  51. steam
  52. gamescope
  53. gamemode
  54. lutris
  55. mangohud
  56.  
  57. #Misc#
  58. corectrl
  59. keepassxc
  60.  
  61. # # It is sometimes useful to fine-tune packages, for example, by applying
  62. # # overrides. You can do that directly here, just don't forget the
  63. # # parentheses. Maybe you want to install Nerd Fonts with a limited number of
  64. # # fonts?
  65. # (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
  66.  
  67. # # You can also create simple shell scripts directly inside your
  68. # # configuration. For example, this adds a command 'my-hello' to your
  69. # # environment:
  70. # (pkgs.writeShellScriptBin "my-hello" ''
  71. # echo "Hello, ${config.home.username}!"
  72. # '')
  73. ];
  74. ### Packages End ###
  75.  
  76. ### Config Files ###
  77. home.file = {
  78. #zsh = {
  79. # recursive = false;
  80. # source = ./dotfiles/shells/zshrc;
  81. # target = "./.zshrc";
  82. #};
  83. bash = {
  84. recursive = false;
  85. source = ./dotfiles/shells/bashrc;
  86. target = "./.bashrc";
  87. };
  88. awesome = {
  89. recursive = true;
  90. source = ./dotfiles/windowManagers/awesome;
  91. target = "./.config/awesome";
  92. };
  93. };
  94. ### Config Files End ###
  95.  
  96. ### Variables ###
  97. home.sessionVariables = {
  98. EDITOR = "vim";
  99. TERMINAL = "kitty";
  100.  
  101. # Copying another config here, don't know if it's actually needed.
  102. XDG_CACHE_HOME = "$HOME/.cache";
  103. XDG_CONFIG_HOME = "$HOME/.config";
  104. XDG_DATA_HOME = "$HOME/.local/share";
  105. XDG_STATE_HOME = "$HOME/.local/state";
  106. XDG_BIN_HOME = "$HOME/.local/bin"; # Not technically in the official xdg specification
  107. XDG_DESKTOP_DIR = "$HOME/desktop";
  108. XDG_DOWNLOAD_DIR = "$HOME/downloads";
  109. };
  110. ### Variables End ###
  111.  
  112. ### Misc/I don't know what this is for. ###
  113. # ZSH
  114. #programs.zsh = {
  115. # enable = true;
  116. # envExtra = ''
  117. # # Make Nix and home-manager installed things available in PATH
  118. # export PATH=/run/current-system/sw/bin/:/nix/var/nix/profiles/default/bin:$HOME/.nix-profile/bin:/etc/profiles/per-user/$USER/bin:$PATH
  119. # '';
  120. #};
  121.  
  122.  
  123. # Let Home Manager install and manage itself.
  124. programs.home-manager.enable = true;
  125. }
  126.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement