summaryrefslogtreecommitdiff
path: root/depo/hikuj-zupip/default.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-08-31 00:50:27 -0700
committerBen Sima <ben@bsima.me>2019-08-31 00:50:27 -0700
commit003990b6630d4b08d3bd1aa58bc1f4bb430154b2 (patch)
treea53a33950adcdd6e44faf15bcb5030e4e08d85c0 /depo/hikuj-zupip/default.nix
parent19732ae8d1da6347ab48c1123758fde6ace7a734 (diff)
depo: pass nixos as an argument
this allows us to centralize the nixpkgs import.
Diffstat (limited to 'depo/hikuj-zupip/default.nix')
-rw-r--r--depo/hikuj-zupip/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/depo/hikuj-zupip/default.nix b/depo/hikuj-zupip/default.nix
index e297a3e..31de11f 100644
--- a/depo/hikuj-zupip/default.nix
+++ b/depo/hikuj-zupip/default.nix
@@ -1,13 +1,12 @@
+{ nixos }:
+
/*
hidor-kahih - main development/build server. Lives in ben's living room.
*/
-let
- nixpkgs = builtins.fetchTarball (import ../../pack/nixpkgs.nix);
-in
-import "${nixpkgs}/nixos" {
+nixos {
system = "x86_64-linux";
configuration = {
nixpkgs.overlays = [