Changed option namespace for better compatibility
This commit is contained in:
parent
fe8045ee55
commit
8b25f46384
26 changed files with 407 additions and 232 deletions
|
|
@ -1,9 +1,9 @@
|
|||
{ config, lib, ... }:
|
||||
let
|
||||
cfg = config.commons;
|
||||
cfg = config.my.utils.commons;
|
||||
in
|
||||
{
|
||||
options.commons = {
|
||||
options.my.utils.commons = {
|
||||
enable = lib.mkEnableOption "Enable commons stuff that are always nice to have";
|
||||
|
||||
allowReboot = lib.mkOption {
|
||||
|
|
|
|||
|
|
@ -5,10 +5,10 @@
|
|||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.serverNodeUsers;
|
||||
cfg = config.my.utils.serverNodeUsers;
|
||||
in
|
||||
{
|
||||
options.serverNodeUsers = {
|
||||
options.my.utils.serverNodeUsers = {
|
||||
enable = lib.mkEnableOption "Set users for server hosts";
|
||||
};
|
||||
|
||||
|
|
@ -24,9 +24,6 @@ in
|
|||
|
||||
users.root = {
|
||||
hashedPassword = "!";
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDhiGLc/whCY3lCmDiRlYnMJOLiO/gvcRj/sKVEFVAhQ pazpi@deadbeef"
|
||||
];
|
||||
};
|
||||
|
||||
users.pazpi = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue