forked from auxolotl/templates
Samuel Shuert
3f3ac4306b
Available templates include the following: - system: flake based system similar to the default when starting nix. - darwin: flake based darwin system with ajusted nixpkgs and modules to better suit it. - home-manager: flake and home manager for non darwin systems. Co-Authored-by: isabelroses <isabel@isabelroses.com> Co-Authored-by: Skyler Grey <minion@clicks.codes> Co-Authored-by: Sigmanificient <edhyjox@gmail.com> Co-Authored-by: AxelSilverdew <7677954+AxelSilverdew@users.noreply.github.com>
10 lines
269 B
Nix
10 lines
269 B
Nix
{ username, hostname, ... }:
|
|
{
|
|
# remember to set the hostname in the kernel command line
|
|
networking.hostName = hostname;
|
|
networking.computerName = hostname;
|
|
system.defaults.smb.NetBIOSName = hostname;
|
|
|
|
users.users."${username}".home = "/Users/${username}";
|
|
}
|