dotfiles/nixos/home-other-os.nix

31 lines
793 B
Nix
Raw Normal View History

2019-08-04 20:15:07 +01:00
{ config, pkgs, ... }:
let
2020-11-03 11:54:31 +00:00
unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs-channels/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;
home.file.".config/i3/status.toml".source = ~/dev/dotfiles/.config/i3/status-single-bat.toml;
2019-11-23 10:04:42 +00:00
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
];
}