2019-08-04 20:15:07 +01:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
2020-11-21 16:20:13 +00:00
|
|
|
unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs/archive/nixpkgs-unstable.tar.gz;
|
2019-08-04 20:15:07 +01:00
|
|
|
dotfiles = "/home/cyryl/dev/dotfiles";
|
|
|
|
in
|
|
|
|
{
|
|
|
|
nixpkgs.config = {
|
|
|
|
allowUnfree = true;
|
|
|
|
packageOverrides = pkgs: {
|
|
|
|
unstable = import unstableTarball {
|
|
|
|
config = config.nixpkgs.config;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2019-11-21 22:46:22 +00:00
|
|
|
|
2020-04-19 12:47:21 +01:00
|
|
|
home.sessionVariables = {
|
2020-08-31 09:49:26 +01:00
|
|
|
LOCALE_ARCHIVE=/usr/lib/locale/locale-archive;
|
2020-04-19 12:47:21 +01:00
|
|
|
};
|
2020-04-19 12:52:23 +01:00
|
|
|
|
2020-04-18 11:59:42 +01:00
|
|
|
targets.genericLinux.enable = true;
|
2019-11-23 10:04:42 +00:00
|
|
|
home.file.".gitconfig".source = ~/dev/dotfiles/.gitconfig.linux.form3;
|
|
|
|
|
2019-11-23 09:03:58 +00:00
|
|
|
imports = [
|
2020-07-29 08:16:28 +01:00
|
|
|
./git/home.nix
|
2021-05-10 14:55:01 +01:00
|
|
|
./home-manager/programs/tmux.nix
|
|
|
|
./home-manager/programs/zsh.nix
|
|
|
|
./home-manager/links.nix
|
|
|
|
./home-manager/programs/vim.nix
|
|
|
|
];
|
2021-05-10 15:02:02 +01:00
|
|
|
programs = {
|
|
|
|
home-manager.enable = true;
|
|
|
|
|
|
|
|
z-lua = {
|
|
|
|
enable = true;
|
|
|
|
enableAliases = true;
|
|
|
|
enableBashIntegration = true;
|
|
|
|
enableZshIntegration = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
gpg = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
taskwarrior.enable = true;
|
|
|
|
fzf.enable = true;
|
|
|
|
go.enable = true;
|
|
|
|
bat.enable = true;
|
|
|
|
lsd.enable = true;
|
|
|
|
lsd.enableAliases = true;
|
|
|
|
};
|
2021-05-10 14:55:01 +01:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
aria
|
|
|
|
atop
|
|
|
|
bfg-repo-cleaner
|
|
|
|
curl
|
|
|
|
dnsutils
|
|
|
|
docker-compose
|
|
|
|
du-dust
|
|
|
|
fd
|
|
|
|
file
|
|
|
|
fontconfig
|
|
|
|
git
|
|
|
|
hsetroot
|
|
|
|
htop
|
|
|
|
imagemagick
|
|
|
|
jmtpfs
|
|
|
|
jq
|
|
|
|
ripgrep
|
|
|
|
rustup
|
|
|
|
terraform
|
|
|
|
tmux
|
|
|
|
unstable.exercism
|
|
|
|
unstable.genpass
|
|
|
|
unstable.topgrade
|
|
|
|
unzip
|
|
|
|
wget
|
|
|
|
whois
|
2019-11-23 09:03:58 +00:00
|
|
|
];
|
|
|
|
}
|