mirror of
https://github.com/smg1024/nix-darwin.git
synced 2026-05-23 04:43:00 +09:00
refactor(darwin): import via ./hosts
rename modules/ -> hosts/
This commit is contained in:
parent
cf1d776efa
commit
fb3f35e153
6 changed files with 9 additions and 6 deletions
|
|
@ -1,18 +0,0 @@
|
|||
{
|
||||
username,
|
||||
hostname,
|
||||
...
|
||||
}: {
|
||||
networking = {
|
||||
hostName = hostname;
|
||||
computerName = hostname;
|
||||
localHostName = hostname;
|
||||
};
|
||||
|
||||
users.users."${username}" = {
|
||||
home = "/Users/${username}";
|
||||
description = username;
|
||||
};
|
||||
|
||||
nix.settings.trusted-users = [username];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue