récupération nixos channel depuis GitHub perso

This commit is contained in:
nyanloutre 2018-11-10 15:24:58 +01:00
parent a521f85f1a
commit c02de5bac5
1 changed files with 9 additions and 0 deletions

View File

@ -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;