Run linter+formatter.
This commit is contained in:
parent
8fd1b6c982
commit
e2330f01fc
16 changed files with 58 additions and 54 deletions
|
@ -9,13 +9,13 @@ with lib; let
|
|||
withDocker = config.virtualisation.docker.enable;
|
||||
withPodman = config.virtualisation.podman.enable;
|
||||
administrators = user: {
|
||||
name = user.name;
|
||||
inherit (user) name;
|
||||
value = let
|
||||
cfg = config.services;
|
||||
passPath = config.sops.secrets."users/${user.name}/password".path;
|
||||
in {
|
||||
isNormalUser = true;
|
||||
name = user.name;
|
||||
inherit (user) name;
|
||||
uid = user.id;
|
||||
subUidRanges = optional withPodman {
|
||||
startUid = 100000;
|
||||
|
@ -41,9 +41,9 @@ with lib; let
|
|||
};
|
||||
|
||||
mkusergroup = user: {
|
||||
name = user.name;
|
||||
inherit (user) name;
|
||||
value = {
|
||||
name = user.name;
|
||||
inherit (user) name;
|
||||
gid = user.id;
|
||||
members = [user.name];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue