dotfiles/nixos/home-other-os.nix

30 lines
686 B
Nix
Raw Normal View History

2019-08-04 20:15:07 +01:00
{ config, pkgs, ... }:
let
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 = [
./home-manager/default.nix
./git/home.nix
2020-08-01 10:16:16 +01:00
./mercurial/home.nix
2019-11-23 09:03:58 +00:00
];
}