made tty-ip enabled by default
This commit is contained in:
parent
7b7bcac73a
commit
7e7384464a
6 changed files with 27 additions and 9 deletions
|
|
@ -18,9 +18,6 @@ in
|
||||||
deploy = {
|
deploy = {
|
||||||
enable = false;
|
enable = false;
|
||||||
};
|
};
|
||||||
services = {
|
|
||||||
tty-ips.enable = true;
|
|
||||||
};
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "base";
|
hostName = "base";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
26
configurations/nixos/caddy/default.nix
Normal file
26
configurations/nixos/caddy/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
{
|
||||||
|
flake,
|
||||||
|
modulesPath,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
inherit (flake) inputs;
|
||||||
|
inherit (inputs) self;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
self.nixosModules.default
|
||||||
|
"${modulesPath}/virtualisation/lxc-container.nix"
|
||||||
|
];
|
||||||
|
deploy = {
|
||||||
|
address = "unknown.local";
|
||||||
|
};
|
||||||
|
networking = {
|
||||||
|
hostName = "caddy";
|
||||||
|
};
|
||||||
|
environment.systemPackages = [
|
||||||
|
];
|
||||||
|
system.stateVersion = "25.05";
|
||||||
|
}
|
||||||
|
|
@ -61,9 +61,6 @@ in
|
||||||
deploy = {
|
deploy = {
|
||||||
address = "201:ea26:66c7:657b:3599:63a6:c66c:d388";
|
address = "201:ea26:66c7:657b:3599:63a6:c66c:d388";
|
||||||
};
|
};
|
||||||
services = {
|
|
||||||
tty-ips.enable = true;
|
|
||||||
};
|
|
||||||
networking = {
|
networking = {
|
||||||
firewall.enable = lib.mkForce false;
|
firewall.enable = lib.mkForce false;
|
||||||
hostName = "forgejo-runner-tofu";
|
hostName = "forgejo-runner-tofu";
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,6 @@ in
|
||||||
address = "200:b938:d405:92df:a6e:1ffd:5213:26b";
|
address = "200:b938:d405:92df:a6e:1ffd:5213:26b";
|
||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
tty-ips.enable = true;
|
|
||||||
uptime-kuma = {
|
uptime-kuma = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,6 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
tty-ips.enable = true;
|
|
||||||
otf = {
|
otf = {
|
||||||
enable = true;
|
enable = true;
|
||||||
environment = {
|
environment = {
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ in
|
||||||
options.services.tty-ips = {
|
options.services.tty-ips = {
|
||||||
enable = mkOption {
|
enable = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = true;
|
||||||
description = "Show interface IPs in TTY login using a dynamic issue file.";
|
description = "Show interface IPs in TTY login using a dynamic issue file.";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue