Nope, was dumb, maybe. - Changed the local variable calls.
This commit is contained in:
parent
25b834e413
commit
e599efe0c8
3 changed files with 32 additions and 48 deletions
|
|
@ -4,7 +4,6 @@
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
config = {
|
|
||||||
# Some programs need SUID wrappers, can be configured further or are
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
# started in user sessions.
|
# started in user sessions.
|
||||||
# programs.mtr.enable = true;
|
# programs.mtr.enable = true;
|
||||||
|
|
@ -43,5 +42,4 @@
|
||||||
|
|
||||||
# Explicitly set DNS
|
# Explicitly set DNS
|
||||||
networking.nameservers = ["10.1.1.2"]; # PiHole DNS
|
networking.nameservers = ["10.1.1.2"]; # PiHole DNS
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -8,13 +8,6 @@
|
||||||
cfg = config.services.forgejo;
|
cfg = config.services.forgejo;
|
||||||
srv = cfg.settings.server;
|
srv = cfg.settings.server;
|
||||||
in {
|
in {
|
||||||
options.local = {
|
|
||||||
hostname = lib.mkOption {type = lib.types.str;};
|
|
||||||
username = lib.mkOption {type = lib.types.str;};
|
|
||||||
userDescription = lib.mkOption {type = lib.types.str;};
|
|
||||||
address = lib.mkOption {type = lib.types.str;};
|
|
||||||
};
|
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
local.hostname = "forgejoprg";
|
local.hostname = "forgejoprg";
|
||||||
local.username = "forgejoprg";
|
local.username = "forgejoprg";
|
||||||
|
|
|
||||||
|
|
@ -4,13 +4,6 @@
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
options.local = {
|
|
||||||
hostname = lib.mkOption {type = lib.types.str;};
|
|
||||||
username = lib.mkOption {type = lib.types.str;};
|
|
||||||
userDescription = lib.mkOption {type = lib.types.str;};
|
|
||||||
address = lib.mkOption {type = lib.types.str;};
|
|
||||||
};
|
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
local.hostname = "nixos-traefik";
|
local.hostname = "nixos-traefik";
|
||||||
local.username = "traefikprg";
|
local.username = "traefikprg";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue