dotfiles/nixos/home.nix

63 lines
1.7 KiB
Nix
Raw Normal View History

2019-06-30 15:18:38 +01:00
{ config, pkgs, ... }:
2019-06-30 20:28:10 +01:00
let
unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz;
in
2019-07-07 12:08:00 +01:00
{
nixpkgs.config = {
allowUnfree = true;
packageOverrides = pkgs: {
unstable = import unstableTarball {
config = config.nixpkgs.config;
};
2019-06-30 20:28:10 +01:00
};
};
2019-07-07 12:08:00 +01:00
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
2019-07-07 11:19:59 +01:00
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
];
2019-07-14 08:47:36 +01:00
home.sessionVariables = {
TERMINAL="alacritty";
};
2019-07-14 08:21:38 +01:00
xsession = {
enable = true;
windowManager.i3 = {
enable = true;
2019-07-14 08:47:36 +01:00
config.modifier = "Mod4";
2019-07-14 08:21:38 +01:00
};
};
2019-07-07 11:45:08 +01:00
imports = [
./programs/zsh.nix
2019-07-07 12:08:00 +01:00
./programs/vim.nix
2019-07-07 11:45:08 +01:00
./programs/alacritty.nix
2019-07-07 12:08:00 +01:00
];
2019-06-30 17:21:25 +01:00
2019-07-07 12:08:00 +01:00
programs = {
home-manager.enable = true;
2019-06-30 20:14:55 +01:00
2019-07-07 12:08:00 +01:00
fzf.enable = true;
tmux = {
enable = true;
shortcut = "a";
extraConfig = ''
set -g status off
set -g mouse on
2019-06-30 17:34:31 +01:00
'';
2019-07-07 12:08:00 +01:00
};
firefox.enable = true;
chromium.enable = true;
go.enable = true;
bat.enable = true;
2019-06-30 17:34:31 +01:00
};
2019-07-07 12:08:00 +01:00
}