From 140c75b83a3074c69c562fd0d788a00cad25b8e3 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 18 Oct 2017 12:41:14 +0200 Subject: Reduce number of unstable packages installed --- modules/hardware/nitrokey.nix | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'modules/hardware/nitrokey.nix') diff --git a/modules/hardware/nitrokey.nix b/modules/hardware/nitrokey.nix index a0a27b0..ec25d8e 100644 --- a/modules/hardware/nitrokey.nix +++ b/modules/hardware/nitrokey.nix @@ -1,9 +1,5 @@ -{ config, nixpkgs, ... }: +{ config, pkgs, ... }: -let - pkgsUnstable = import {}; - # pkgsUnstable = pkgs; -in { programs.ssh.startAgent = false; programs.gnupg = { @@ -31,8 +27,8 @@ in }; }; - environment.systemPackages = [ - pkgsUnstable.gnupg - pkgsUnstable.nitrokey-app + environment.systemPackages = with pkgs; [ + gnupg + nitrokey-app ]; } -- cgit 1.4.1