Nixfmt Tree
This commit is contained in:
parent
d6bcf1a468
commit
f173b9d236
23 changed files with 381 additions and 224 deletions
|
|
@ -3,10 +3,18 @@
|
|||
lib,
|
||||
foelib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkOption mkEnableOption optionals types;
|
||||
}:
|
||||
let
|
||||
inherit (lib)
|
||||
mkIf
|
||||
mkOption
|
||||
mkEnableOption
|
||||
optionals
|
||||
types
|
||||
;
|
||||
cfg = config.foehammer.users.admin;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options.foehammer.users.admin = {
|
||||
enable = mkEnableOption "Enable a wheel admin user.";
|
||||
hashedPasswordFile = mkOption {
|
||||
|
|
@ -20,7 +28,7 @@ in {
|
|||
description = "SSH Admin User.";
|
||||
group = "admin";
|
||||
|
||||
extraGroups = ["wheel"] ++ optionals config.virtualisation.docker.enable ["docker"];
|
||||
extraGroups = [ "wheel" ] ++ optionals config.virtualisation.docker.enable [ "docker" ];
|
||||
isNormalUser = true;
|
||||
uid = 9999;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue