machines: rename to 'hosts/nixos'
This will be more consistent in the future if I want to introduce darwin or home-manager configurations.
This commit is contained in:
parent
eac628963a
commit
2fb3d0f9cf
20 changed files with 1 additions and 1 deletions
12
hosts/nixos/porthos/users.nix
Normal file
12
hosts/nixos/porthos/users.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# User setup
|
||||
{ ... }:
|
||||
{
|
||||
users.users.blog = {
|
||||
description = "Blog Publisher";
|
||||
isNormalUser = true;
|
||||
group = "nginx";
|
||||
createHome = false; # Messes with permissions
|
||||
home = "/var/www/";
|
||||
openssh.authorizedKeys.keyFiles = [ ./ssh/drone.pub ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue