mirror of
https://github.com/RGBCube/ncc
synced 2025-07-27 18:17:44 +00:00
treewide: update flake lock
This commit is contained in:
parent
eec914e613
commit
0eb7eb7475
5 changed files with 98 additions and 61 deletions
5
modules/darwin/system-config-primary-user.nix
Normal file
5
modules/darwin/system-config-primary-user.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{ config, lib, ... }: let
|
||||
inherit (lib) attrNames filterAttrs hasPrefix head;
|
||||
in {
|
||||
system.primaryUser = head <| attrNames <| filterAttrs (_: value: value.home != null && hasPrefix "/Users/" value.home) config.users.users;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue