refactor(treewide): statix
This commit is contained in:
parent
366fa0ce80
commit
7f2cd7a343
71 changed files with 84 additions and 84 deletions
|
|
@ -4,7 +4,7 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
host = config.ooknet.host;
|
||||
inherit (config.ooknet) host;
|
||||
in {
|
||||
imports = [
|
||||
./firewall.nix
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
host = config.ooknet.host;
|
||||
inherit (config.ooknet) host;
|
||||
in {
|
||||
config = mkIf (host.type != "phone") {
|
||||
networking.firewall = {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
host = config.ooknet.host;
|
||||
inherit (config.ooknet) host;
|
||||
in {
|
||||
config = mkIf (host.type != "phone") {
|
||||
services.resolved = {
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
host = config.ooknet.host;
|
||||
inherit (config.ooknet) host;
|
||||
in {
|
||||
# nyx module
|
||||
config = mkIf (host.type != "phone") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue