flakes/users/rin/home.nix

139 lines
3 KiB
Nix
Raw Normal View History

{ config, pkgs, ... }: rec {
home = {
username = "rin";
homeDirectory = "/home/rin";
stateVersion = "21.05";
packages = with pkgs; [
appimage-run
2021-06-04 13:03:01 +07:00
brave
discord-canary
element-desktop
feh
2021-06-04 13:03:25 +07:00
ffmpeg
2021-06-16 09:27:57 +07:00
gnome.file-roller
2021-06-15 09:59:57 +07:00
ghidra-bin
gimp
gnupg
2021-06-08 11:29:54 +07:00
inkscape
2021-06-08 13:44:24 +07:00
kotatogram-desktop
lf
lxappearance
maim
2021-06-15 09:59:23 +07:00
mps-youtube
neofetch
2021-07-07 08:29:57 +07:00
nodejs-16_x
pamixer
pavucontrol
rnix-lsp
tor-browser-bundle-bin
2021-05-28 14:56:53 +07:00
transcrypt
2021-06-25 10:04:38 +07:00
transmission-remote-gtk
2021-06-20 17:25:08 +07:00
unrar
2021-06-02 15:31:39 +07:00
vlc
wine-osu
(winetricks.override { wine = wine-osu; })
xclip
xorg.xgamma
2021-06-04 13:03:25 +07:00
youtube-dl
2021-07-07 08:29:57 +07:00
nodePackages_latest.pnpm
];
sessionVariables = {
PATH = builtins.concatStringsSep ":" [
"${config.home.homeDirectory}/.local/bin"
"${config.xdg.dataHome}/npm/bin"
"$PATH"
];
XAUTHORITY = "$XDG_RUNTIME_DIR/Xauthority";
EDITOR = "nvim";
_JAVA_OPTIONS = "-Djava.util.prefs.userRoot=${config.xdg.configHome}/java";
CARGO_HOME = "${config.xdg.dataHome}/cargo";
DIRENV_LOG_FORMAT = "";
GNUPGHOME = "${config.xdg.dataHome}/gnupg";
GTK2_RC_FILES = "${config.xdg.configHome}/gtk-2.0/gtkrc";
LESSHISTFILE = "-";
NODE_REPL_HISTORY="${config.xdg.dataHome}/nodejs/repl_history";
NPM_CONFIG_USERCONFIG = "${config.xdg.configHome}/npm/npmrc";
PUB_CACHE = "${config.xdg.cacheHome}/dart";
WGETRC = "${config.xdg.configHome}/wgetrc";
XINITRC = "${config.xdg.configHome}/xorg/xinitrc";
WINEPREFIX = "${config.xdg.dataHome}/wine64";
WINEARCH = "win64";
};
};
imports = [
2021-05-27 15:49:40 +07:00
./theming.nix
2021-05-27 12:54:33 +07:00
./xdg.nix
2021-07-07 19:53:20 +07:00
# ./alacritty.nix
2021-07-05 15:05:01 +07:00
./kitty.nix
2021-06-15 09:59:23 +07:00
./mpv.nix
./neovim.nix
2021-05-26 21:21:58 +07:00
./npm.nix
./rofi.nix
# ./urxvt.nix
./zsh.nix
./dunst.nix
./picom.nix
2021-05-30 21:37:07 +07:00
./polybar.bspwm.nix
# ./polybar.i3.nix
2021-05-30 21:37:07 +07:00
./xorg.nix
./sxhkd.nix
./bspwm.nix
# ./i3.nix
];
programs = {
feh.enable = true;
2021-05-26 22:29:45 +07:00
direnv = {
enable = true;
2021-06-20 11:34:58 +07:00
nix-direnv = {
enable = true;
enableFlakes = true;
};
2021-05-26 22:29:45 +07:00
};
git = {
enable = true;
userName = "LavaDesu";
userEmail = "me@lava.moe";
signing = {
key = "059F098EBF0E9A13E10A46BF6500251E087653C9";
signByDefault = true;
};
2021-06-08 11:38:24 +07:00
extraConfig = {
core.abbrev = 11;
};
};
2021-06-04 16:14:09 +07:00
gpg = {
enable = true;
homedir = "${config.xdg.dataHome}/gnupg";
};
};
2021-05-30 23:57:01 +07:00
services = {
2021-06-04 16:14:49 +07:00
# TODO: borked
clipmenu.enable = false;
2021-06-04 16:14:09 +07:00
gpg-agent = {
enable = true;
pinentryFlavor = "gnome3";
};
2021-05-30 23:57:01 +07:00
};
2021-05-31 15:47:09 +07:00
home.file.".local/bin/ipc-bridge.exe".source = builtins.fetchurl {
url = "https://github.com/0e4ef622/wine-discord-ipc-bridge/releases/download/v0.0.1/winediscordipcbridge.exe";
sha256 = "1swn9spxpq6blm74kjmfz4ipq6a8qjzccvb2msb25pf5b1z7jnns";
};
home.file.".local/bin/osu" = {
executable = true;
source = ./scripts/osu;
};
}