2019-08-04 20:15:07 +01:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz;
|
|
|
|
dotfiles = "/home/cyryl/dev/dotfiles";
|
|
|
|
in
|
|
|
|
{
|
|
|
|
nixpkgs.config = {
|
|
|
|
allowUnfree = true;
|
|
|
|
packageOverrides = pkgs: {
|
|
|
|
unstable = import unstableTarball {
|
|
|
|
config = config.nixpkgs.config;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
home.packages = with pkgs; [
|
2019-11-21 22:43:09 +00:00
|
|
|
( pass.withExtensions (ext: [ ext.pass-otp ext.pass-import ext.pass-genphrase ext.pass-audit ext.pass-update ]))
|
|
|
|
passff-host
|
|
|
|
cabal-install stack hsetroot lm_sensors gnome3.gnome-screenshot
|
|
|
|
wirelesstools ranger xpdf apvlv unstable.xidlehook blueman
|
|
|
|
fontconfig nodejs rustup gcc gdb
|
|
|
|
binutils xclip pkgconfig veracrypt gitAndTools.diff-so-fancy
|
|
|
|
restic glxinfo ghc
|
|
|
|
jq awscli
|
|
|
|
mercurial terraform unzip aria
|
|
|
|
mono calcurse fbreader file python37Packages.binwalk-full
|
2019-08-04 20:15:07 +01:00
|
|
|
];
|
2019-11-21 22:43:09 +00:00
|
|
|
|
2019-08-04 20:15:07 +01:00
|
|
|
home.sessionVariables = {
|
2019-11-21 22:43:09 +00:00
|
|
|
PASSWORD_STORE_ENABLE_EXTENSIONS="true";
|
2019-08-04 20:15:07 +01:00
|
|
|
};
|
|
|
|
|
2019-11-21 22:43:09 +00:00
|
|
|
home.file.".vimrc".source = ~/dev/dotfiles/.vimrc.nixos;
|
|
|
|
home.file.".config/nixpkgs/config.nix".source = ~/dev/dotfiles/nixos/shell-config.nix;
|
|
|
|
home.file.".mozilla/native-messaging-hosts/passff.json".source = "${pkgs.passff-host}/share/passff-host/passff.json";
|
|
|
|
|
2019-08-04 20:15:07 +01:00
|
|
|
imports = [
|
|
|
|
./programs/tmux.nix
|
|
|
|
./programs/zsh.nix
|
|
|
|
./programs/git.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
programs = {
|
|
|
|
home-manager.enable = true;
|
|
|
|
|
2019-11-21 22:43:09 +00:00
|
|
|
z-lua = {
|
|
|
|
enable = true;
|
|
|
|
enableAliases = true;
|
|
|
|
enableBashIntegration = true;
|
|
|
|
enableZshIntegration = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
rofi.enable = true;
|
2019-08-04 20:15:07 +01:00
|
|
|
fzf.enable = true;
|
|
|
|
chromium.enable = true;
|
|
|
|
go.enable = true;
|
|
|
|
bat.enable = true;
|
|
|
|
};
|
2019-11-21 22:43:09 +00:00
|
|
|
|
2019-08-04 20:15:07 +01:00
|
|
|
}
|