diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-04-27 12:32:53 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-04-27 12:32:53 +0200 |
| commit | d9199cbf481bebb11402b54055526b045f3d815c (patch) | |
| tree | c9b39f5a29359d16a4028cce9b2e9dfd87a59c57 /custom | |
| parent | cc372b884bb592363e6c20cfed3130970ef1080a (diff) | |
| download | nixos-d9199cbf481bebb11402b54055526b045f3d815c.tar nixos-d9199cbf481bebb11402b54055526b045f3d815c.tar.gz nixos-d9199cbf481bebb11402b54055526b045f3d815c.tar.bz2 nixos-d9199cbf481bebb11402b54055526b045f3d815c.tar.xz nixos-d9199cbf481bebb11402b54055526b045f3d815c.zip | |
permissions
Diffstat (limited to 'custom')
| -rw-r--r-- | custom/uucp.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/custom/uucp.nix b/custom/uucp.nix index 26a2b4b8..dff7e5e7 100644 --- a/custom/uucp.nix +++ b/custom/uucp.nix | |||
| @@ -113,7 +113,9 @@ in { | |||
| 113 | 113 | ||
| 114 | system.activationScripts."uucp-sshconfig" = '' | 114 | system.activationScripts."uucp-sshconfig" = '' |
| 115 | mkdir -p ${config.users.users."uucp".home}/.ssh | 115 | mkdir -p ${config.users.users."uucp".home}/.ssh |
| 116 | cp ${builtins.toFile "ssh-config" config.services.uucp.sshConfig} ${config.users.users."uucp".home}/.ssh/config | 116 | chown ${users.users."uucp".name}:${users.users."uucp".group} ${config.users.users."uucp".home}/.ssh |
| 117 | chmod 700 ${config.users.users."uucp".home}/.ssh | ||
| 118 | ln -s ${builtins.toFile "ssh-config" config.services.uucp.sshConfig} ${config.users.users."uucp".home}/.ssh/config | ||
| 117 | ''; | 119 | ''; |
| 118 | 120 | ||
| 119 | environment.etc."uucp/port" = { | 121 | environment.etc."uucp/port" = { |
