nix-config

My personal nixos and home-manager configuration
Log | Files | Refs | README

arch.nix (849B)


      1 { pkgs, lib, ... }:
      2 
      3 with lib;
      4 let
      5   libExtra = import ../../lib { inherit lib; };
      6 in
      7 {
      8   home.stateVersion = "20.09";
      9 
     10   imports = [
     11     ./minimal.nix
     12     ../themes/gruvbox
     13   ];
     14 
     15   alacritty = {
     16     enable = true;
     17     font = "Hack Nerd Font";
     18     fontSize = 10;
     19   };
     20   programs.alacritty.package = pkgs.hello;
     21   c.enable = true;
     22   dunst.enable = true;
     23   emacs.enable = true;
     24   haskell.enable = true;
     25   latex.enable = true;
     26   polybar.enable = true;
     27   zathura.enable = true;
     28   xbindkeys.enable = true;
     29   xinit = {
     30     enable = false;
     31     config = ''
     32       [[ -f ~/.Xresources ]] && xrdb -merge -I$HOME .Xresources
     33 
     34       . ~/.xprofile
     35 
     36       exec bspwm
     37     '';
     38   };
     39   zsh.aliases = {
     40     nrh = "nix run .#arch"; # nrh is nix run homemanager
     41   };
     42 
     43   home.packages = [
     44     # packages
     45     pkgs.i3lock-color
     46     pkgs.manpages
     47     pkgs.tree-sitter
     48   ];
     49 }