dotfiles/nixos/home-other-os.nix

81 lines
1.6 KiB
Nix
Raw Normal View History

2019-08-04 20:15:07 +01:00
{ config, pkgs, ... }:
let
2022-03-10 12:25:23 +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";
2022-03-10 12:25:23 +00:00
in {
2021-11-24 10:33:12 +00:00
home.username = "cyryl";
home.homeDirectory = "/home/cyryl";
home.stateVersion = "21.11";
2021-11-22 19:32:26 +00:00
nixpkgs.config = {
allowUnfree = true;
packageOverrides = pkgs: {
2022-03-10 12:25:23 +00:00
unstable = import unstableTarball { config = config.nixpkgs.config; };
2019-08-04 20:15:07 +01:00
};
2021-11-22 19:32:26 +00:00
};
2019-11-21 22:46:22 +00:00
2022-03-10 12:25:23 +00:00
home.sessionVariables = { LOCALE_ARCHIVE = /usr/lib/locale/locale-archive; };
2020-04-19 12:52:23 +01:00
2021-11-22 19:32:26 +00:00
targets.genericLinux.enable = true;
home.file.".gitconfig".source = ~/dev/dotfiles/.gitconfig.linux.form3;
2019-11-23 10:04:42 +00:00
2021-11-22 19:32:26 +00:00
imports = [
./git/home.nix
./home-manager/programs/tmux.nix
./home-manager/links.nix
./home-manager/programs/vim.nix
2021-11-24 10:52:18 +00:00
./home-manager/programs/zsh.nix
2021-11-22 19:32:26 +00:00
];
programs = {
home-manager.enable = true;
2021-11-22 19:32:26 +00:00
z-lua = {
enable = true;
enableAliases = true;
enableBashIntegration = true;
enableZshIntegration = true;
};
2021-11-22 19:32:26 +00:00
gpg = {
enable = true;
settings = { };
};
2021-11-22 19:32:26 +00:00
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
2021-11-24 10:52:18 +00:00
nixpkgs-fmt
2021-11-22 19:32:26 +00:00
ripgrep
rustup
terraform
tmux
unstable.exercism
unstable.genpass
unstable.topgrade
unzip
wget
whois
];
}