stuff
This commit is contained in:
parent
3f6dafe073
commit
79792e5a76
24 changed files with 143 additions and 101 deletions
|
@ -1,3 +1,6 @@
|
|||
{
|
||||
profiles.server.enable = true;
|
||||
profiles = {
|
||||
server.enable = true;
|
||||
trusted.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
@ -25,7 +24,7 @@ lib.mkMerge (
|
|||
};
|
||||
|
||||
systemd.tmpfiles.settings."10-static-sites".${root}.d = {
|
||||
user = config.users.mainUser;
|
||||
user = "helvetica";
|
||||
group = "users";
|
||||
mode = "0755";
|
||||
};
|
||||
|
|
13
hosts/abacus/users.nix
Normal file
13
hosts/abacus/users.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ config, inputs, ... }:
|
||||
{
|
||||
age.secrets.user-helvetica.file = inputs.self + /secrets/users/helvetica.age;
|
||||
|
||||
users.users.helvetica = {
|
||||
description = "Helvetica";
|
||||
uid = 1000;
|
||||
isNormalUser = true;
|
||||
hashedPasswordFile = config.age.secrets.user-helvetica.path;
|
||||
openssh.authorizedKeys.keys = builtins.attrValues config.pubkeys.users;
|
||||
extraGroups = [ "wheel" ]; # TODO remove
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue