all repos — nixfiles @ 94c04950e14301a33a0a3abb9414e0f92d9895eb

System and user configuration, managed by nix and home-manager

Use nix-shell to run node2nix
Alan Pearce alan@alanpearce.eu
Tue, 18 Feb 2020 10:20:59 +0100
commit

94c04950e14301a33a0a3abb9414e0f92d9895eb

parent

50129a90b692af5c0561bd8e13f557db1516e5a1

2 files changed, 1 insertions(+), 10 deletions(-)

jump to
D system/settings/hardware/qwerty.nix
@@ -1,9 +0,0 @@-{ config, pkgs, ... }:
-
-{
-  services.xserver = {
-    layout = "us";
-    xkbVariant = "intl-unicode";
-    xkbOptions = "altwin:prtsc_rwin,caps:escape";
-  };
-}
M user/packages/node2nix/Makefileuser/packages/node2nix/Makefile
@@ -1,5 +1,5 @@ default.nix: node-packages.json
-	node2nix --nodejs-12 --input $<
+	nix-shell -p nodePackages.node2nix --run "node2nix --nodejs-12 --input $<"
 
 install: default.nix
 	nix-env -f default.nix -i