From 8aab4b10561ac65fe0db3e774cb26ca204a2686c Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Mon, 16 Sep 2024 16:38:16 -0500 Subject: [PATCH] Flake check --- nixos/beefcake.nix | 3 +++ nixos/rascal.nix | 2 ++ 2 files changed, 5 insertions(+) diff --git a/nixos/beefcake.nix b/nixos/beefcake.nix index bdc8f4e..f9b1c88 100644 --- a/nixos/beefcake.nix +++ b/nixos/beefcake.nix @@ -838,6 +838,9 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00 HTTP_PORT = 3088; DOMAIN = "git.lyte.dev"; }; + migrations = { + ALLOWED_DOMAINS = "*.github.com,github.com,gitlab.com,*.gitlab.com"; + }; actions = { ENABLED = true; }; diff --git a/nixos/rascal.nix b/nixos/rascal.nix index a35f601..a7cf744 100644 --- a/nixos/rascal.nix +++ b/nixos/rascal.nix @@ -25,11 +25,13 @@ device = "/dev/sda"; }; + users.groups.beefcake = {}; users.users = { beefcake = { isSystemUser = true; createHome = true; home = "/storage/backups/beefcake"; + group = "beefcake"; extraGroups = ["sftponly"]; openssh.authorizedKeys.keys = config.users.users.daniel.openssh.authorizedKeys.keys