diff options
author | Alan Pearce | 2017-10-18 12:41:14 +0200 |
---|---|---|
committer | Alan Pearce | 2017-10-18 12:41:14 +0200 |
commit | 140c75b83a3074c69c562fd0d788a00cad25b8e3 (patch) | |
tree | b1d5a69aaf6ceb4dc8c93eccd8ea652b7ed3f492 /modules/hardware | |
parent | 90ee1170898bcef3975e9f6adff5a86530ec2506 (diff) | |
download | nixfiles-140c75b83a3074c69c562fd0d788a00cad25b8e3.tar.lz nixfiles-140c75b83a3074c69c562fd0d788a00cad25b8e3.tar.zst nixfiles-140c75b83a3074c69c562fd0d788a00cad25b8e3.zip |
Reduce number of unstable packages installed
Diffstat (limited to 'modules/hardware')
-rw-r--r-- | modules/hardware/nitrokey.nix | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/modules/hardware/nitrokey.nix b/modules/hardware/nitrokey.nix index a0a27b0f..ec25d8e0 100644 --- a/modules/hardware/nitrokey.nix +++ b/modules/hardware/nitrokey.nix @@ -1,9 +1,5 @@ -{ config, nixpkgs, ... }: +{ config, pkgs, ... }: -let - pkgsUnstable = import <nixos-unstable> {}; - # 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 ]; } |