From afddfa5c00ac92391ea472bb946ec3a1750c808e Mon Sep 17 00:00:00 2001 From: moni-dz Date: Wed, 22 Jan 2025 05:09:57 +0800 Subject: [PATCH] mistral: add shpool --- hosts/default.nix | 3 ++- hosts/mistral/configuration.nix | 1 + hosts/riscake/configuration.nix | 8 ++++++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/hosts/default.nix b/hosts/default.nix index 07dced67..6d4c73c3 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -1,4 +1,4 @@ -{ inputs, ... }: +{ self, inputs, ... }: { # nix-darwin configurations @@ -20,6 +20,7 @@ inputs.crowdsec.nixosModules.crowdsec inputs.crowdsec.nixosModules.crowdsec-firewall-bouncer inputs.nix-minecraft.nixosModules.minecraft-servers + self.nixosModules.shpool { age.secrets = { diff --git a/hosts/mistral/configuration.nix b/hosts/mistral/configuration.nix index 7545df3a..8357ea32 100644 --- a/hosts/mistral/configuration.nix +++ b/hosts/mistral/configuration.nix @@ -48,6 +48,7 @@ dbus.implementation = "broker"; eternal-terminal.enable = true; + shpool.enable = true; openssh = { enable = true; diff --git a/hosts/riscake/configuration.nix b/hosts/riscake/configuration.nix index d2a79bf4..ef4ac59b 100644 --- a/hosts/riscake/configuration.nix +++ b/hosts/riscake/configuration.nix @@ -36,8 +36,12 @@ cmd - e : yabai -m window --toggle zoom-fullscreen shift + cmd - e : yabai -m window --toggle float --grid 4:4:1:1:2:2 '' - + lib.optionalString config.services.yabai.enable (lib.concatLines (map move (map toString (lib.range 1 6)))) - + lib.optionalString config.services.yabai.enable (lib.concatLines (map ws (map toString (lib.range 1 6)))); + + lib.optionalString config.services.yabai.enable ( + lib.concatLines (map move (map toString (lib.range 1 6))) + ) + + lib.optionalString config.services.yabai.enable ( + lib.concatLines (map ws (map toString (lib.range 1 6))) + ); }; yabai = {