porthos: move files into 'machines' directory

But keep 'porthos.nix' at the root of the repository. I feel like it is
cleaner to keep device specific files at the root.
This commit is contained in:
Bruno BELANYI 2021-02-09 20:04:35 +00:00
parent f5d0118fab
commit 866225393b
7 changed files with 1 additions and 1 deletions

View file

@ -0,0 +1,15 @@
# User setup
{ config, ... }:
let
my = config.my;
in
{
users.users.blog = {
description = "Blog Publisher";
isNormalUser = true;
group = "nginx";
createHome = false; # Messes with permissions
home = "/var/www/";
openssh.authorizedKeys.keys = [ my.secrets.drone.ssh.publicKey ];
};
}