diff --git a/common/i18n.nix b/common/i18n.nix index ee498a9..2903648 100644 --- a/common/i18n.nix +++ b/common/i18n.nix @@ -1,4 +1,4 @@ -{ ... }: +_: { config = { time.timeZone = "Europe/Berlin"; diff --git a/common/networking.nix b/common/networking.nix index 05140c2..6bcfb50 100644 --- a/common/networking.nix +++ b/common/networking.nix @@ -1,4 +1,4 @@ -{ ... }: +_: { config = { services.openssh = { diff --git a/home/vinzenz/zsh.nix b/home/vinzenz/zsh.nix index 9b85c05..5aa3fcb 100644 --- a/home/vinzenz/zsh.nix +++ b/home/vinzenz/zsh.nix @@ -14,6 +14,9 @@ my-test = "sudo nixos-rebuild test"; my-direnvallow = "echo \"use nix\" > .envrc && direnv allow"; my-ip4 = "ip addr show | grep 192"; + deadnix = "nix run github:astro/deadnix -- "; + statix = "nix run git+https://git.peppe.rs/languages/statix -- "; + my-nix-fixup = "deadnix -e && statix fix"; }; history = { diff --git a/hosts/vinzenz-lpt2/nginx.nix b/hosts/vinzenz-lpt2/nginx.nix index 8c82c3f..76378f7 100644 --- a/hosts/vinzenz-lpt2/nginx.nix +++ b/hosts/vinzenz-lpt2/nginx.nix @@ -1,4 +1,4 @@ -{ ... }: +_: { services.nginx = { enable = true; diff --git a/modules/podman.nix b/modules/podman.nix index eb1914b..8d37dd6 100644 --- a/modules/podman.nix +++ b/modules/podman.nix @@ -1,4 +1,4 @@ -{ ... }: +_: { virtualisation = { containers.enable = true; diff --git a/modules/printing.nix b/modules/printing.nix index b198d6c..b7171ad 100644 --- a/modules/printing.nix +++ b/modules/printing.nix @@ -1,4 +1,4 @@ -{ ... }: +_: { config = { services = {