Merge remote-tracking branch 'origin/main'
Some checks failed
/ check (push) Has been cancelled

This commit is contained in:
Daniel Flanagan 2024-09-17 12:06:43 -05:00
commit f676b4d7a5
2 changed files with 7 additions and 2 deletions

View file

@ -754,9 +754,9 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
defaults defaults
// { // {
extraOptions = [ extraOptions = [
''sftp.command="ssh beefcake@rascal -i ${config.sops.secrets.restic-rascal-ssh-private-key.path} -s sftp"'' ''sftp.command="ssh beefcake@rascal.hare-cod.ts.net -i ${config.sops.secrets.restic-rascal-ssh-private-key.path} -s sftp"''
]; ];
repository = "sftp://beefcake@rascal://storage/backups/beefcake"; repository = "sftp://beefcake@rascal.hare-cod.ts.net://storage/backups/beefcake";
}; };
# TODO: add ruby? # TODO: add ruby?
benland = benland =
@ -838,6 +838,9 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
HTTP_PORT = 3088; HTTP_PORT = 3088;
DOMAIN = "git.lyte.dev"; DOMAIN = "git.lyte.dev";
}; };
migrations = {
ALLOWED_DOMAINS = "*.github.com,github.com,gitlab.com,*.gitlab.com";
};
actions = { actions = {
ENABLED = true; ENABLED = true;
}; };

View file

@ -25,11 +25,13 @@
device = "/dev/sda"; device = "/dev/sda";
}; };
users.groups.beefcake = {};
users.users = { users.users = {
beefcake = { beefcake = {
isSystemUser = true; isSystemUser = true;
createHome = true; createHome = true;
home = "/storage/backups/beefcake"; home = "/storage/backups/beefcake";
group = "beefcake";
extraGroups = ["sftponly"]; extraGroups = ["sftponly"];
openssh.authorizedKeys.keys = openssh.authorizedKeys.keys =
config.users.users.daniel.openssh.authorizedKeys.keys config.users.users.daniel.openssh.authorizedKeys.keys