feat: introduce treefmt and fmt all

This commit is contained in:
steveej 2024-11-15 10:17:56 +01:00
parent 80250b0179
commit 5d5282a914
213 changed files with 4967 additions and 4423 deletions

View file

@ -3,9 +3,11 @@
lib,
config,
...
}: let
}:
let
keys = import ../../../variables/keys.nix;
in {
in
{
# TASK: new device
networking.hostName = "srv0"; # Define your hostname.
# networking.domain = "home-ch.stefanjunker.de";
@ -37,7 +39,7 @@ in {
networking.nat = {
enable = true;
internalInterfaces = ["ve-+"];
internalInterfaces = [ "ve-+" ];
externalInterface = "eth0";
};
@ -45,14 +47,20 @@ in {
# services.kubernetes.roles = ["master" "node"];
# virtualization
virtualisation = {docker.enable = true;};
virtualisation = {
docker.enable = true;
};
nix.gc = {automatic = true;};
nix.gc = {
automatic = true;
};
networking.useHostResolvConf = false;
services.resolved = {enable = true;};
services.resolved = {
enable = true;
};
containers = {};
containers = { };
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions