From c02de5bac54a7aa6ef17c70f98c1358ea30843e7 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Sat, 10 Nov 2018 15:24:58 +0100 Subject: [PATCH] =?UTF-8?q?r=C3=A9cup=C3=A9ration=20nixos=20channel=20depu?= =?UTF-8?q?is=20GitHub=20perso?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- systems/LoutreOS/configuration.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/systems/LoutreOS/configuration.nix b/systems/LoutreOS/configuration.nix index bdcffc4..abd18ba 100644 --- a/systems/LoutreOS/configuration.nix +++ b/systems/LoutreOS/configuration.nix @@ -4,6 +4,10 @@ { config, pkgs, ... }: +let + gitRev = "b9c2a5800f8d42cedf0545663187597f73ca2b51"; + nixpkgs = fetchTarball "https://github.com/nyanloutre/nixpkgs/archive/${gitRev}.tar.gz"; +in { imports = [ ../common.nix @@ -23,6 +27,11 @@ tmpOnTmpfs = true; }; + nix.nixPath = [ + "nixpkgs=${nixpkgs}" + "nixos-config=/etc/nixos/configuration.nix" + ]; + services.zfs = { autoSnapshot.enable = true; autoScrub.enable = true;