dotfiles/nixos/home-other-os.nix
2020-04-18 15:53:01 +01:00

38 lines
967 B
Nix

{ config, pkgs, ... }:
let
unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz;
dotfiles = "/home/cyryl/dev/dotfiles";
in
{
nixpkgs.config = {
allowUnfree = true;
packageOverrides = pkgs: {
unstable = import unstableTarball {
config = config.nixpkgs.config;
};
};
};
home.sessionVariables = {
PASSWORD_STORE_ENABLE_EXTENSIONS="true";
LC_ALL="en_GB.UTF-8";
LANG="en_GB.UTF-8";
};
news.display = "show";
targets.genericLinux.enable = true;
home.file.".gitconfig".source = ~/dev/dotfiles/.gitconfig.linux.form3;
home.file.".config/i3/status.toml".source = ~/dev/dotfiles/.config/i3/status-single-bat.toml;
imports = [
./programs/tmux.nix
./programs/zsh.nix
./programs/vim.nix
./programs/alacritty.nix
./programs.nix
./links.nix
./cli.nix
./i3/home.nix
];
}