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