onebutton.r: make it work

This commit is contained in:
lassulus 2018-04-21 16:01:31 +02:00
parent b08c606eab
commit 70052cb8c9
2 changed files with 10 additions and 4 deletions

View File

@ -29,4 +29,5 @@
};
swapDevices = [ { device = "/swapfile"; size = 1024; } ];
services.openssh.enable = true;
}

View File

@ -1,11 +1,16 @@
with import <stockholm/lib>;
let
pkgs = import <nixpkgs> {};
in import <stockholm/krebs/source.nix> {
name = "onebutton";
nixpkgs.file = pkgs.fetchFromGitHub {
nixpkgs = pkgs.fetchFromGitHub {
owner = "nixos";
repo = "nixpkgs-channels";
rev = "6c064e6b"; # only binary cache for unstable arm6
sha256 = "0ssaaaaaaaaaaaawkgjk8c75mvhgn5z7g1dkb78r8vrih9428bb8";
sha256 = "1rqzh475xn43phagrr30lb0fd292c1s8as53irihsnd5wcksnbyd";
};
in import <stockholm/krebs/source.nix> {
name = "onebutton";
override.nixpkgs = mkForce {
file = toString nixpkgs;
};
}