-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: iosmanthus <[email protected]>
- Loading branch information
1 parent
d53fe28
commit ce87422
Showing
102 changed files
with
1,266 additions
and
1,264 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,23 @@ | ||
{ lib | ||
, ... | ||
}: | ||
{ lib, ... }: | ||
with lib; | ||
let | ||
adminOpts = { ... }: { | ||
options = { | ||
name = mkOption { | ||
type = types.str; | ||
}; | ||
email = mkOption { | ||
type = types.str; | ||
}; | ||
home = mkOption { | ||
type = types.str; | ||
}; | ||
shell = mkOption { | ||
type = types.package; | ||
}; | ||
hashedPasswordFile = mkOption { | ||
type = types.path; | ||
}; | ||
sshPubKey = mkOption { | ||
type = types.str; | ||
}; | ||
gpgPubKey = mkOption { | ||
type = types.str; | ||
default = ""; | ||
adminOpts = | ||
{ ... }: | ||
{ | ||
options = { | ||
name = mkOption { type = types.str; }; | ||
email = mkOption { type = types.str; }; | ||
home = mkOption { type = types.str; }; | ||
shell = mkOption { type = types.package; }; | ||
hashedPasswordFile = mkOption { type = types.path; }; | ||
sshPubKey = mkOption { type = types.str; }; | ||
gpgPubKey = mkOption { | ||
type = types.str; | ||
default = ""; | ||
}; | ||
}; | ||
}; | ||
}; | ||
in | ||
{ | ||
options.admin = mkOption { | ||
type = types.submodule adminOpts; | ||
}; | ||
options.admin = mkOption { type = types.submodule adminOpts; }; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ self | ||
, ... | ||
}: { | ||
{ self, ... }: | ||
{ | ||
# system: "base16" | ||
# name: "Material Darker" | ||
# author: "Nate Peterson" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.