Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { config, pkgs, ... }:
- {
- targets.genericLinux.enable = true;
- ### Imports ###
- # imports =[];
- ### Overlays/Unfree ###
- nixpkgs = {
- # You can add overlays here
- # overlays = [
- #
- # ];
- # Configure your nixpkgs instance
- config = {
- allowUnfree = true;
- # Workaround for https://github.com/nix-community/home-manager/issues/2942
- # allowUnfreePredicate = _: true;
- };
- };
- ### User Info ###
- home.username = "Vandush";
- home.homeDirectory = "/home/Vandush";
- ### Config Version ###
- home.stateVersion = "23.11"; # Please read the comment before changing.
- ### Packages ###
- home.packages = with pkgs; [
- #Window Managers#
- awesome
- hyprland
- #Browsers#
- firefox
- librewolf
- #Text Editors#
- vim
- libreoffice
- #Terminals#
- kitty
- #Terminal Apps#
- #fastfetch #It wont see the nix installed packages when installed through nix.
- #htop
- #Games# #Will probably have to add 'nixVulkanIntel %command%' to launch options
- steam
- gamescope
- gamemode
- lutris
- mangohud
- #Misc#
- corectrl
- keepassxc
- # # It is sometimes useful to fine-tune packages, for example, by applying
- # # overrides. You can do that directly here, just don't forget the
- # # parentheses. Maybe you want to install Nerd Fonts with a limited number of
- # # fonts?
- # (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
- # # You can also create simple shell scripts directly inside your
- # # configuration. For example, this adds a command 'my-hello' to your
- # # environment:
- # (pkgs.writeShellScriptBin "my-hello" ''
- # echo "Hello, ${config.home.username}!"
- # '')
- ];
- ### Packages End ###
- ### Config Files ###
- home.file = {
- #zsh = {
- # recursive = false;
- # source = ./dotfiles/shells/zshrc;
- # target = "./.zshrc";
- #};
- bash = {
- recursive = false;
- source = ./dotfiles/shells/bashrc;
- target = "./.bashrc";
- };
- awesome = {
- recursive = true;
- source = ./dotfiles/windowManagers/awesome;
- target = "./.config/awesome";
- };
- };
- ### Config Files End ###
- ### Variables ###
- home.sessionVariables = {
- EDITOR = "vim";
- TERMINAL = "kitty";
- # Copying another config here, don't know if it's actually needed.
- XDG_CACHE_HOME = "$HOME/.cache";
- XDG_CONFIG_HOME = "$HOME/.config";
- XDG_DATA_HOME = "$HOME/.local/share";
- XDG_STATE_HOME = "$HOME/.local/state";
- XDG_BIN_HOME = "$HOME/.local/bin"; # Not technically in the official xdg specification
- XDG_DESKTOP_DIR = "$HOME/desktop";
- XDG_DOWNLOAD_DIR = "$HOME/downloads";
- };
- ### Variables End ###
- ### Misc/I don't know what this is for. ###
- # ZSH
- #programs.zsh = {
- # enable = true;
- # envExtra = ''
- # # Make Nix and home-manager installed things available in PATH
- # export PATH=/run/current-system/sw/bin/:/nix/var/nix/profiles/default/bin:$HOME/.nix-profile/bin:/etc/profiles/per-user/$USER/bin:$PATH
- # '';
- #};
- # Let Home Manager install and manage itself.
- programs.home-manager.enable = true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement