dotfiles/nixos/home.nix
Cyryl Płotnicki 74b0ab107f Add rofi
2019-07-14 09:26:24 +01:00

64 lines
1.9 KiB
Nix

{ config, pkgs, ... }:
let
unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz;
mod = "Mod4";
in
{
nixpkgs.config = {
allowUnfree = true;
packageOverrides = pkgs: {
unstable = import unstableTarball {
config = config.nixpkgs.config;
};
};
};
home.packages = with pkgs; [
keepass fontconfig nodejs rustup gcc gdb
binutils xclip pkgconfig veracrypt gitAndTools.diff-so-fancy
gnome3.gnome-shell-extensions chrome-gnome-shell gnomeExtensions.clipboard-indicator
gnomeExtensions.caffeine gnomeExtensions.no-title-bar
openjdk11 gimp restic glxinfo discord steam
zoom-us unstable.notable
nodejs-10_x hugo mercurial terraform libreoffice
unzip tor-browser-bundle-bin aria vlc
jetbrains.goland jetbrains.clion
(wine.override { wineBuild = "wineWow"; }) winetricks
yubico-piv-tool yubikey-personalization yubikey-personalization-gui yubikey-manager-qt
mono calcurse calibre fbreader file python37Packages.binwalk-full
];
home.sessionVariables = {
TERMINAL="alacritty";
};
xsession = {
enable = true;
windowManager.i3 = {
enable = true;
config = {
modifier = mod;
keybindings = {
"${mod}+Return" = "exec i3-sensible-terminal";
"${mod}+Shift+q" = "kill";
"${mod}+d" = "exec ${pkgs.rofi}/bin/rofi -show combi -combi-modi window#run#ssh -modi combi";
};
};
};
};
imports = [
./programs/tmux.nix
./programs/zsh.nix
./programs/vim.nix
./programs/alacritty.nix
];
programs = {
home-manager.enable = true;
rofi.enable = true;
fzf.enable = true;
firefox.enable = true;
chromium.enable = true;
go.enable = true;
bat.enable = true;
};
}