summary refs log tree commit diff
path: root/nixos/modules/services/security/fprot.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-09 00:09:31 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-09 00:09:31 +0200
commite09250d41ccaf65c570ba94c0335493365807770 (patch)
treed2e84f9bd9d026d296da337528752685376c1eb9 /nixos/modules/services/security/fprot.nix
parentdcd0e68b177954278a767e55e63e80260daa3ea0 (diff)
downloadnixpkgs-e09250d41ccaf65c570ba94c0335493365807770.tar
nixpkgs-e09250d41ccaf65c570ba94c0335493365807770.tar.gz
nixpkgs-e09250d41ccaf65c570ba94c0335493365807770.tar.bz2
nixpkgs-e09250d41ccaf65c570ba94c0335493365807770.tar.lz
nixpkgs-e09250d41ccaf65c570ba94c0335493365807770.tar.xz
nixpkgs-e09250d41ccaf65c570ba94c0335493365807770.tar.zst
nixpkgs-e09250d41ccaf65c570ba94c0335493365807770.zip
Disable allowUnfree by default
Fixes #2134.
Diffstat (limited to 'nixos/modules/services/security/fprot.nix')
-rw-r--r--nixos/modules/services/security/fprot.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/nixos/modules/services/security/fprot.nix b/nixos/modules/services/security/fprot.nix
index 9f1fc4ed6d8..a109191be55 100644
--- a/nixos/modules/services/security/fprot.nix
+++ b/nixos/modules/services/security/fprot.nix
@@ -18,7 +18,6 @@ in {
 	};
 
 	productData = mkOption {
-	  default = "${pkgs.fprot}/opt/f-prot/product.data";
 	  description = ''
 	    product.data file. Defaults to the one supplied with installation package.
 	  '';
@@ -32,7 +31,6 @@ in {
 	};
 
 	licenseKeyfile = mkOption {
-	  default = "${pkgs.fprot}/opt/f-prot/license.key";
 	  description = ''
 	    License keyfile. Defaults to the one supplied with installation package.
 	  '';
@@ -45,6 +43,10 @@ in {
   ###### implementation
 
   config = mkIf cfg.updater.enable {
+
+    services.fprot.updater.productData = "${pkgs.fprot}/opt/f-prot/product.data";
+    services.fprot.updater.licenseKeyfile = "${pkgs.fprot}/opt/f-prot/license.key";
+
     environment.systemPackages = [ pkgs.fprot ];
     environment.etc = singleton {
       source = "${pkgs.fprot}/opt/f-prot/f-prot.conf";