Add apps and host-users modules

This commit is contained in:
Tobias Ostner 2023-12-01 08:06:48 +01:00
parent 22e4e8b611
commit f39962f246
4 changed files with 38 additions and 17 deletions

View file

@ -0,0 +1,17 @@
{ ... }@args:
let
hostname = "TobAir";
username = "tobi";
in
{
networking.hostName = hostname;
networking.computerName = hostname;
system.defaults.smb.NetBIOSName = hostname;
users.users."${username}" = {
home = "/Users/${username}";
description = "Tobias Ostner";
};
nix.settings.trusted-users = [ username ];
}