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:
parent
f5d0118fab
commit
866225393b
7 changed files with 1 additions and 1 deletions
15
machines/porthos/users.nix
Normal file
15
machines/porthos/users.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue