dotfiles/nixos/home.nix

76 lines
2.3 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;
2019-07-21 16:47:36 +01:00
dotfiles = "/home/cyryl/dev/dotfiles";
2019-06-30 20:28:10 +01:00
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; [
2019-10-31 22:46:18 +00:00
( pass.withExtensions (ext: [ ext.pass-otp ext.pass-import ext.pass-genphrase ext.pass-audit ext.pass-update ]))
passff-host
2019-10-31 12:40:09 +00:00
cabal-install stack hsetroot lm_sensors gnome3.gnome-screenshot
2019-07-18 18:49:12 +01:00
wirelesstools ranger xpdf apvlv unstable.xidlehook blueman
2019-10-14 23:39:04 +01:00
fontconfig nodejs rustup gcc gdb
binutils xclip pkgconfig veracrypt gitAndTools.diff-so-fancy
2019-08-04 16:59:49 +01:00
openjdk gimp restic glxinfo discord ghc
2019-07-31 17:52:25 +01:00
unstable.notable jq awscli evince signal-desktop
nodejs-10_x hugo mercurial terraform libreoffice
2019-11-09 10:11:28 +00:00
unzip unstable.tor-browser-bundle-bin aria vlc
2019-08-31 11:42:45 +01:00
jetbrains.goland unstable.jetbrains.clion jetbrains.idea-ultimate
(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-08-04 16:59:49 +01:00
slack discord obs-studio kpcli
];
2019-08-24 18:53:12 +01:00
2019-07-14 08:47:36 +01:00
home.sessionVariables = {
2019-08-24 10:53:31 +01:00
TERMINAL="termite";
2019-07-21 10:13:49 +01:00
CM_LAUNCHER="rofi";
2019-10-31 22:46:18 +00:00
PASSWORD_STORE_ENABLE_EXTENSIONS="true";
2019-07-14 08:47:36 +01:00
};
2019-07-14 09:35:06 +01:00
2019-08-24 18:53:12 +01:00
home.file.".vimrc".source = ~/dev/dotfiles/.vimrc.nixos;
2019-10-06 11:00:52 +01:00
home.file.".config/nixpkgs/config.nix".source = ~/dev/dotfiles/nixos/shell-config.nix;
2019-10-31 22:46:18 +00:00
home.file.".mozilla/native-messaging-hosts/passff.json".source = "${pkgs.passff-host}/share/passff-host/passff.json";
2019-08-24 18:53:12 +01:00
2019-07-07 11:45:08 +01:00
imports = [
2019-07-14 08:52:02 +01:00
./programs/tmux.nix
2019-07-07 11:45:08 +01:00
./programs/zsh.nix
2019-08-24 10:53:31 +01:00
./programs/termite.nix
2019-08-04 20:13:54 +01:00
./programs/git.nix
2019-07-14 09:35:06 +01:00
./user-xsession.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-11-01 20:50:41 +00:00
z-lua = {
enable = true;
enableAliases = true;
enableBashIntegration = true;
enableZshIntegration = true;
};
2019-07-14 09:26:24 +01:00
rofi.enable = true;
2019-07-07 12:08:00 +01:00
fzf.enable = true;
chromium.enable = true;
go.enable = true;
bat.enable = true;
2019-06-30 17:34:31 +01:00
};
2019-08-04 22:38:07 +01:00
gtk = {
enable = true;
};
qt = {
enable = true;
};
2019-07-07 12:08:00 +01:00
}