From dd3f845526f34be923be78ffbebadeb9db9b8a4f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 27 Apr 2016 11:41:46 +0200 Subject: scoping --- custom/uucp.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/custom/uucp.nix b/custom/uucp.nix index f2e230e8..93c761b8 100644 --- a/custom/uucp.nix +++ b/custom/uucp.nix @@ -96,11 +96,11 @@ rec { ''; }; - users.users."uucp" = optional config.services.uucp.enable config.services.uucp.sshUser; + users.users."uucp" = optional services.uucp.enable services.uucp.sshUser; - system.activationScripts."uucp-sshconfig" = optional config.services.uucp.enable '' + system.activationScripts."uucp-sshconfig" = optional services.uucp.enable '' mkdir -p ${users.users."uucp".home}/.ssh - cp ${builtins.toFile "ssh-config" config.services.uucp.sshConfig} ${users.users."uucp".home}/.ssh/config + cp ${builtins.toFile "ssh-config" services.uucp.sshConfig} ${users.users."uucp".home}/.ssh/config ''; }; } -- cgit v1.2.3