dots-of-war/files/nix-stuff/nixpkgs/home.nix

68 lines
1.3 KiB
Nix
Raw Normal View History

2020-06-29 17:38:15 +00:00
{ config, pkgs, ... }:
let
elkowar_local = import ./local/default.nix {};
in
{
home.packages = [
elkowar_local.bashtop
pkgs.htop
pkgs.direnv
pkgs.rnix-lsp
pkgs.nix-prefetch-git
2020-07-02 13:40:06 +00:00
pkgs.gtop
pkgs.simplescreenrecorder
pkgs.bat
pkgs.websocat
#pkgs.timg
2020-06-29 17:38:15 +00:00
];
2020-07-02 13:40:06 +00:00
programs = {
home-manager.enable = true;
#alacritty = import ./config/alacritty.nix; # <- https://github.com/guibou/nixGL
#firefox = import ./config/firefox.nix;
feh = import ./config/feh.nix;
lsd = {
enable = true;
enableAliases = true;
};
mpv = {
enable = true;
bindings = {
WHEEL_UP = "add volume 5";
WHEEL_DOWN = "add volume -5";
WHEEL_LEFT = "seek -3";
WHEEL_RIGHT = "seek 3";
h = "seek -3";
l = "seek 3";
};
};
fzf = {
enable = true;
enableFishIntegration = true;
defaultCommand = "rg --files";
fileWidgetCommand = "fd --type f";
changeDirWidgetCommand = "rg --files --null | xargs -0 dirname | sort -u";
};
direnv = {
enable = true;
enableFishIntegration = true;
#enableNixDirenvIntegration = true;
};
};
services = {
kdeconnect.enable = true;
};
2020-06-29 17:38:15 +00:00
home.username = "leon";
home.homeDirectory = "/home/leon";
home.stateVersion = "20.09";
}