Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- file = {
- ".ssh/id_rsa.pub" = {
- source = ./programs/ssh + "/${config.networking.hostName}-root.password.pub";
- onChange = ''
- cp ${./programs/ssh + "/${config.networking.hostName}-root.password"} /root/.ssh/id_rsa
- chmod 600 /root/.ssh/id_rsa
- '';
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement