nix: bumped to nixUnstable

This commit is contained in:
Serĉanto de Scio 2022-02-23 13:45:34 +10:00
parent 0a1fe67a6c
commit bcd19d8005
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA
2 changed files with 9 additions and 5 deletions

View file

@ -74,10 +74,10 @@
"homepage": "", "homepage": "",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b165ce0c4efbb74246714b5c66b6bcdce8cde175", "rev": "7f9b6e2babf232412682c09e57ed666d8f84ac2d",
"sha256": "1q7n9rk4i8ky2xxiymm72cfq1xra3ss3vkhbwf60rhiblslldgqg", "sha256": "03nb8sbzgc3c0qdr1jbsn852zi3qp74z4qcy7vrabvvly8rbixp2",
"type": "tarball", "type": "tarball",
"url": "https://github.com/nixos/nixpkgs/archive/b165ce0c4efbb74246714b5c66b6bcdce8cde175.tar.gz", "url": "https://github.com/nixos/nixpkgs/archive/7f9b6e2babf232412682c09e57ed666d8f84ac2d.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
} }
} }

View file

@ -2,12 +2,16 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ let
sources = import ../nix/sources.nix;
nixUnstable = (import sources.nixpkgsUnstable { }).nixVersions.unstable;
in {
imports = [ ../profiles/terminal-recording.nix ../profiles/nix-direnv.nix ]; imports = [ ../profiles/terminal-recording.nix ../profiles/nix-direnv.nix ];
nix = { nix = {
package = pkgs.nixFlakes; package = nixUnstable;
binaryCaches = [ binaryCaches = [
"https://cache.nixos.org" "https://cache.nixos.org"
"https://erc20.cachix.org" "https://erc20.cachix.org"