refactor(treewide): statix

This commit is contained in:
ooks-io 2024-08-11 20:24:40 +12:00
parent 366fa0ce80
commit 7f2cd7a343
71 changed files with 84 additions and 84 deletions

View file

@ -4,7 +4,7 @@
...
}: let
inherit (lib) mkIf;
host = config.ooknet.host;
inherit (config.ooknet) host;
in {
imports = [
./firewall.nix

View file

@ -4,7 +4,7 @@
...
}: let
inherit (lib) mkIf;
host = config.ooknet.host;
inherit (config.ooknet) host;
in {
config = mkIf (host.type != "phone") {
networking.firewall = {

View file

@ -4,7 +4,7 @@
...
}: let
inherit (lib) mkIf;
host = config.ooknet.host;
inherit (config.ooknet) host;
in {
config = mkIf (host.type != "phone") {
services.resolved = {

View file

@ -4,7 +4,7 @@
...
}: let
inherit (lib) mkIf mkDefault;
host = config.ooknet.host;
inherit (config.ooknet) host;
in {
config = mkIf (host.type != "phone") {
services.openssh = {

View file

@ -4,7 +4,7 @@
...
}: let
inherit (lib) mkIf;
host = config.ooknet.host;
inherit (config.ooknet) host;
in {
# nyx module
config = mkIf (host.type != "phone") {