user/settings/base.nix (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | { config, lib, pkgs, ... }: { # Let Home Manager install and manage itself. programs.home-manager.enable = true; manual = { html.enable = true; }; programs.neovim = { enable = true; vimAlias = true; configure = { customRC = '' set autoindent set background=light set shiftwidth=2 set tabstop=2 set noexpandtab set relativenumber set smartcase ''; packages.myVimPackage = with pkgs.vimPlugins; { start = [ vim-nix ]; opt = [ ]; }; }; }; home.sessionVariables.EMAIL = "alan@alanpearce.eu"; home.packages = with pkgs; [ pv fd sd entr file ripgrep htop lsof iftop nmap moreutils mtr tree zip telnet ] ++ ( if !stdenv.isDarwin then [ unar ] else [ ]); } |