dotfiles/nixos/home.nix

66 lines
1.8 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-09-07 08:45:45 +01:00
cabal-install stack hsetroot
2019-07-18 18:49:12 +01:00
wirelesstools ranger xpdf apvlv unstable.xidlehook blueman
2019-08-08 21:23:29 +01:00
fontconfig nodejs rustup gcc gdb steam
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
unzip 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-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-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-07-14 09:26:24 +01:00
rofi.enable = true;
2019-07-07 12:08:00 +01:00
fzf.enable = true;
firefox.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
}