about summary refs log tree commit diff
path: root/modules/darwin/common/users.nix
blob: 9043f51f56efa4d2859310c5fb793d9f13a1704b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
{
  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