about summary refs log tree commit diff
path: root/modules/darwin/common/users.nix
blob: 957e50c6ec2c5bde9143ac72ff01109f78687415 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
{
  lib,
  localUsername ? lib.my.username,
  ...
}:
with lib; {
  # The only MacOS machine I'm currently using has a pre-configured domain user
  # account that I have to login as. I may accidentally break something if I
  # change options here so this section is left practically untouched.
  users.users.${localUsername}.home = "/Users/${localUsername}";
}

Consider giving Nix/NixOS a try! <3