style: format code

This commit is contained in:
tux
2026-09-11 01:59:55 +05:30
parent 49a341d6b3
commit 344d8bdd4a
87 changed files with 2528 additions and 2719 deletions

View File

@@ -1,16 +1,13 @@
{
flake.modules.nixos.networking =
{
config,
lib,
hostName,
...
}:
with lib;
let
flake.modules.nixos.networking = {
config,
lib,
hostName,
...
}:
with lib; let
cfg = config.tnix.networking.netbird-client;
in
{
in {
options.tnix.networking.netbird-client = {
enable = mkEnableOption "Enable netbird client";
};

View File

@@ -1,15 +1,12 @@
{
flake.modules.nixos.networking =
{
config,
lib,
...
}:
with lib;
let
flake.modules.nixos.networking = {
config,
lib,
...
}:
with lib; let
cfg = config.tnix.networking.newt;
in
{
in {
options.tnix.networking.newt = {
enable = mkEnableOption "Newt";

View File

@@ -1,25 +1,22 @@
{
flake.modules.nixos.networking =
{
config,
lib,
...
}:
with lib;
let
flake.modules.nixos.networking = {
config,
lib,
...
}:
with lib; let
cfg = config.tnix.networking.openssh;
# Sops needs acess to the keys before the persist dirs are even mounted; so
# just persisting the keys won't work, we must point at /persist
hasOptinPersistence = config.tnix.boot.impermanence.enable;
in
{
in {
options.tnix.networking.openssh = {
enable = mkEnableOption "Enable OpenSSH server";
ports = mkOption {
type = types.listOf types.port;
default = [ 22 ];
default = [22];
description = ''
Specifies on which ports the SSH daemon listens.
'';