dotfiles/nixos/home-other-os.nix
2020-11-21 16:20:13 +00:00

31 lines
784 B
Nix

{ config, pkgs, ... }:
let
unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs/archive/nixpkgs-unstable.tar.gz;
dotfiles = "/home/cyryl/dev/dotfiles";
in
{
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;
home.file.".config/i3/status.toml".source = ~/dev/dotfiles/.config/i3/status-single-bat.toml;
imports = [
./home-manager/default.nix
./git/home.nix
./mercurial/home.nix
];
}