84 lines
1.6 KiB
Nix
84 lines
1.6 KiB
Nix
{ config, pkgs, ... }:
|
|
|
|
let
|
|
unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs/archive/nixpkgs-unstable.tar.gz;
|
|
dotfiles = "/home/cyryl/dev/dotfiles";
|
|
in
|
|
{
|
|
home.username = "cyryl";
|
|
home.homeDirectory = "/home/cyryl";
|
|
home.stateVersion = "21.11";
|
|
|
|
nixpkgs.config = {
|
|
allowUnfree = true;
|
|
packageOverrides = pkgs: {
|
|
unstable = import unstableTarball {
|
|
config = config.nixpkgs.config;
|
|
};
|
|
};
|
|
};
|
|
|
|
home.sessionVariables = {
|
|
LOCALE_ARCHIVE = /usr/lib/locale/locale-archive;
|
|
};
|
|
|
|
targets.genericLinux.enable = true;
|
|
home.file.".gitconfig".source = ~/dev/dotfiles/.gitconfig.linux.form3;
|
|
|
|
imports = [
|
|
./git/home.nix
|
|
./home-manager/programs/tmux.nix
|
|
./home-manager/links.nix
|
|
./home-manager/programs/vim.nix
|
|
./home-manager/programs/zsh.nix
|
|
];
|
|
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;
|
|
};
|
|
home.packages = with pkgs; [
|
|
aria
|
|
bfg-repo-cleaner
|
|
curl
|
|
dnsutils
|
|
docker-compose
|
|
du-dust
|
|
fd
|
|
file
|
|
fontconfig
|
|
git
|
|
hsetroot
|
|
htop
|
|
imagemagick
|
|
jmtpfs
|
|
jq
|
|
nixpkgs-fmt
|
|
ripgrep
|
|
rustup
|
|
terraform
|
|
tmux
|
|
unstable.exercism
|
|
unstable.genpass
|
|
unstable.topgrade
|
|
unzip
|
|
wget
|
|
whois
|
|
];
|
|
}
|