base: move some shared configuration to shared
This commit is contained in:
parent
6fe9af56e7
commit
fe306085f4
11 changed files with 273 additions and 227 deletions
12
modules/darwin/base/default.nix
Normal file
12
modules/darwin/base/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ config, ... }:
|
||||
|
||||
let
|
||||
username = config.chvp.username;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./nix
|
||||
];
|
||||
|
||||
users.users.${username}.home = "/Users/${username}";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue