From 10e39fc40480675e64c6137c07bf1563e703cb76 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 12 Dec 2020 17:08:52 +0100 Subject: [PATCH] Pin home-manager version --- nix/sources.json | 12 ++++++++++++ users/simon/default.nix | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/nix/sources.json b/nix/sources.json index 29382af..4310839 100644 --- a/nix/sources.json +++ b/nix/sources.json @@ -1,4 +1,16 @@ { + "home-manager": { + "branch": "release-20.09", + "description": "Manage a user environment using Nix [maintainer=@rycee] ", + "homepage": "https://nix-community.github.io/home-manager/", + "owner": "nix-community", + "repo": "home-manager", + "rev": "63f299b3347aea183fc5088e4d6c4a193b334a41", + "sha256": "0iksjch94wfvyq0cgwv5wq52j0dc9cavm68wka3pahhdvjlxd3js", + "type": "tarball", + "url": "https://github.com/nix-community/home-manager/archive/63f299b3347aea183fc5088e4d6c4a193b334a41.tar.gz", + "url_template": "https://github.com///archive/.tar.gz" + }, "krops": { "branch": "master", "description": "Mirror of https://cgit.krebsco.de/krops/about/ (PRs / issues accepted, as can be seen by not having them disabled)", diff --git a/users/simon/default.nix b/users/simon/default.nix index 7bd239e..9f9769f 100644 --- a/users/simon/default.nix +++ b/users/simon/default.nix @@ -1,7 +1,7 @@ { config, pkgs, ... }: { imports = [ - (import "${builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/release-20.09.tar.gz"}/nixos") + (import "${(import ../../nix/sources.nix).home-manager}/nixos") ]; users.users.simon = {