aboutsummaryrefslogtreecommitdiff
path: root/home.nix
diff options
context:
space:
mode:
authorTom Harley2020-12-30 10:52:09 +0000
committerTom Harley2020-12-30 10:52:41 +0000
commit68cf8766e2636a50b0a660368b18426e2c12d487 (patch)
treef7f73e3a93e36ca544b14e6fdb3bd31073262424 /home.nix
downloadhome-manager-68cf8766e2636a50b0a660368b18426e2c12d487.tar.gz
home-manager-68cf8766e2636a50b0a660368b18426e2c12d487.zip

Initial commit

Diffstat (limited to 'home.nix')
-rw-r--r--home.nix121
1 files changed, 121 insertions, 0 deletions
diff --git a/home.nix b/home.nix
new file mode 100644
index 0000000..8667f73
--- /dev/null
+++ b/home.nix
@@ -0,0 +1,121 @@
+{ config, pkgs, ... }:
+
+{
+ # Let Home Manager install and manage itself.
+ programs.home-manager.enable = true;
+
+ # This value determines the Home Manager release that your
+ # configuration is compatible with. This helps avoid breakage
+ # when a new Home Manager release introduces backwards
+ # incompatible changes.
+ #
+ # You can update Home Manager without changing this value. See
+ # the Home Manager release notes for a list of state version
+ # changes in each release.
+ home.stateVersion = "20.03";
+
+ nixpkgs.config.allowUnfree = true;
+
+ home.packages = with pkgs; [
+ vcv-rack
+ cawbird
+ unzip
+ scrot
+ nnn
+ file
+ ripgrep
+ p7zip
+ obs-studio
+ rtorrent
+ weechat
+ ];
+
+ imports = [
+ ./i3.nix
+ ./apvlv.nix
+ ./lutris.nix
+ ./htop.nix
+ ./git.nix
+ ./bash.nix
+ ./xmonad.nix
+ ./discord.nix
+ ./vim.nix
+ ./conjure.nix
+ ./rofi.nix
+ ];
+
+ home.file.".Xmodmap" = rec {
+ executable = false;
+ onChange = "${pkgs.xorg.xmodmap}/bin/xmodmap ${target}";
+ target = "./.Xmodmap";
+ source = ./Xmodmap;
+ };
+
+ xsession = {
+ enable = true;
+
+ initExtra = ''
+ ${pkgs.feh}/bin/feh --bg-center --no-fehbg \
+ "$HOME/Pictures/vaporwave-bg/Vaporwave Goddesses Temple.png" \
+ "$HOME/Pictures/vaporwave-bg/b_vap2.png"
+
+ ${pkgs.xorg.xset}/bin/xset mouse 1/1 1
+ '';
+ };
+
+ programs.fzf = {
+ enable = true;
+ enableBashIntegration = true;
+ };
+
+ programs.urxvt = {
+ enable = true;
+
+ fonts = [ "xft:Hack:size=9" ];
+ iso14755 = false;
+ scroll.bar.enable = false;
+
+ extraConfig = {
+ "internalBorder" = 0;
+ "externalBorder" = 0;
+ "background" = "#1c1b1a";
+ "foreground" = "#f8f6f2";
+ "cursorColor" = "#aeee00";
+ "scrollColor" = "#45413b";
+ "fadeColor" = "#ffffff";
+ "fading" = 20;
+
+ # black
+ "color0" = "#141413";
+ "color8" = "#000000";
+ # red
+ "color1" = "#ff2c4b";
+ "color9" = "#ff2c4b";
+ # green
+ "color2" = "#aeee00";
+ "color10" = "#aeee00";
+ # yellow
+ "color3" = "#fade3e";
+ "color11" = "#ffa724";
+ # blue
+ "color4" = "#0a9dff";
+ "color12" = "#0a9dff";
+ # magenta
+ "color5" = "#ff9eb8";
+ "color13" = "#ff9eb8";
+ # cyan
+ "color6" = "#8cffba";
+ "color14" = "#8cffba";
+ # white
+ "color7" = "#d9cec3";
+ "color15" = "#ffffff";
+ };
+ };
+
+ programs.firefox = {
+ enable = true;
+
+ enableAdobeFlash = false;
+ };
+
+}