blob: d6525ed639c99eb8a4a7314a26661c6c23429b9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ config, pkgs, lib, ... }:
let
ver = with lib; substring 0 5 version;
in
{
imports = [
./base.nix
"${builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/release-${ver}.tar.gz"}/nixos"
];
home-manager.users.nixos = { ... }: {
home = {
stateVersion = ver;
packages = [ pkgs.vim ];
sessionVariables = {
EDITOR = "vim";
TEST_VARIABLE = "THISISATESTSTRING";
};
};
programs.bash.enable = true;
};
}
|