Nix 2.4 fix, tf-nix update, auto-git-pull

This commit is contained in:
kat witch 2021-11-20 14:36:07 +00:00
parent 445c6fae99
commit e716081479
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
4 changed files with 8 additions and 10 deletions

View file

@ -4,13 +4,10 @@
boot.loader.grub.configurationLimit = 8;
boot.loader.systemd-boot.configurationLimit = 8;
environment.systemPackages = [
(pkgs.writeShellScriptBin "nixFlakes" ''
exec ${pkgs.nixUnstable}/bin/nix --experimental-features "nix-command flakes" "$@"
'')
];
nix = {
extraOptions = lib.optionalString (lib.versionAtLeast config.nix.package.version "2.4") ''
experimental-features = nix-command flakes
'';
nixPath = [
"nixpkgs=${sources.nixpkgs}"
"nur=${sources.nur}"

@ -1 +1 @@
Subproject commit 465d7ba25cd26d438f19d14ff9df7592cb6e89c4
Subproject commit 51fafb2e4e5e19f8ae1ee1617b8b012dafc14443

View file

@ -171,10 +171,10 @@
"homepage": null,
"owner": "arcnmx",
"repo": "tf-nix",
"rev": "778ac1da6674bd2cdabe5e8929d3356d5bc44cb6",
"sha256": "1j652yjmc0xikx3c2cqx86mai7y8ji4va512z6xdvnlw3w6i5rhj",
"rev": "2e8642b7be0b63807d73a168ea880521de1e83b6",
"sha256": "0zfi7aglchia0b4qkp9qplklmabzkxlz5bl5pfjb574xq85prmn2",
"type": "tarball",
"url": "https://github.com/arcnmx/tf-nix/archive/778ac1da6674bd2cdabe5e8929d3356d5bc44cb6.tar.gz",
"url": "https://github.com/arcnmx/tf-nix/archive/2e8642b7be0b63807d73a168ea880521de1e83b6.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}
}

View file

@ -70,6 +70,7 @@ with lib; pkgs.mkShell {
export HOME_USER=$(id -un)
export CI_PLATFORM="impure"
export NIX_PATH="$NIX_PATH:home=${toString ./.}"
git pull
'';
}