From 5cdb4e421a809de51c3ebe8404e50d732721238b Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 26 Sep 2021 21:26:36 +0530 Subject: init --- home.nix | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 home.nix (limited to 'home.nix') diff --git a/home.nix b/home.nix new file mode 100644 index 0000000..93f66ad --- /dev/null +++ b/home.nix @@ -0,0 +1,88 @@ +{ config +, pkgs +, theme +, ... +}: + +{ + + imports = [ + ./programs + ./services + # ./scripts + ./x + ./mail.nix + ]; + + home.stateVersion = "21.05"; + home.username = "np"; + home.homeDirectory = "/home/np"; + home.packages = with pkgs; [ + + vim + unzip + curl + tmux + weechat + rofi + firefox + xclip + ripgrep + ccls + miniserve + rnix-lsp + pfetch + st + arandr + imagemagick + ffmpeg + maim + wget + cmus + tree + rxvt-unicode + neomutt + mpv + nodePackages.bash-language-server + gitAndTools.delta + w3m + noto-fonts-emoji + ripgrep-all + urlview + slop + gimp + fd + du-dust + jq + + # meta + nixpkgs-review + nixpkgs-fmt + nix-prefetch-scripts + nix-bash-completions + + ]; + + xdg = { + userDirs = { + enable = true; + desktop = "\$HOME/desktop"; + documents = "\$HOME/docs"; + download = "\$HOME/dloads"; + music = "\$HOME/music"; + pictures = "\$HOME/pics"; + videos = "\$HOME/vids"; + }; + }; + + xsession = { + enable = true; + windowManager.command = "2bwm"; + initExtra = '' + ${pkgs.hsetroot}/bin/hsetroot -solid "#000" + xrdb -load $HOME/.Xresources + setxkbmap -option 'caps:swapescape' + ''; + }; + +} -- cgit v1.2.3