feat: nix-darwin-kickstarter minimal

This commit is contained in:
Sangmin Kim 2026-03-04 18:02:39 +09:00 committed by Poby
parent 5e30ed38cd
commit 248170c877
No known key found for this signature in database
9 changed files with 111 additions and 289 deletions

View file

@ -1,23 +1,12 @@
{
username,
hostname,
...
} @ args:
#############################################################
#
# Host & Users configuration
#
#############################################################
{ username, hostname, ... }:
{
networking.hostName = hostname;
networking.computerName = hostname;
system.defaults.smb.NetBIOSName = hostname;
# Define a user account. Don't forget to set a password with passwd.
users.users."${username}" = {
home = "/Users/${username}";
description = username;
};
nix.settings.trusted-users = [username];
nix.settings.trusted-users = [ username ];
}