This commit is contained in:
iFargle 2023-08-23 17:04:54 +09:00
parent ba6080ffaf
commit 774c9d9dfe

View file

@ -1,4 +1,7 @@
{ config, desktop, lib, pkgs, ... }: {
{ config, desktop, lib, pkgs, ... }:
let
ifExists = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
in {
# Define a user account.
imports = [ ] ++ lib.optional (builtins.isString desktop) ./desktop.nix;
users.users.albert = {