diff --git a/home/base/nya.nix b/home/base/nya.nix deleted file mode 100644 index 97b3a9e..0000000 --- a/home/base/nya.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ lib, ... }: { - home.file = lib.mkMerge (map (x: { - "${x}" = { - text = '' - nyaa!~ - ''; - }; - }) [ "girl" "boy" "enby" ]); -} diff --git a/home/base/ssh.nix b/home/base/ssh.nix index 53e5f4e..27b1398 100644 --- a/home/base/ssh.nix +++ b/home/base/ssh.nix @@ -1,17 +1,10 @@ -_: { +{ lib, ... }: { programs.ssh.enable = true; - programs.ssh.matchBlocks = { - "hetzner-vm" = { - user = "root"; - hostname = "hetzner-vm.servers.genderfucked.monster"; - }; - "storage" = { - user = "root"; - hostname = "storage.servers.genderfucked.monster"; - }; - "vault" = { - user = "root"; - hostname = "vault.servers.genderfucked.monster"; - }; - }; + programs.ssh.matchBlocks = (lib.mkMerge + (lib.forEach [ "hetzner-vm" "storage" "vault" "buildbox" ] (hostname: { + "${hostname}" = { + user = "root"; + hostname = "${hostname}.servers.genderfucked.monster"; + }; + }))); } diff --git a/home/base/zsh.nix b/home/base/zsh.nix index 40f3f84..e2571a6 100644 --- a/home/base/zsh.nix +++ b/home/base/zsh.nix @@ -18,6 +18,7 @@ in { la = "exa -Ga"; ll = "exa -l"; lla = "exa -lga"; + ip6 = "ip -6"; sys = "systemctl"; sysu = "systemctl --user"; logu = "journalctl --user";