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
// {
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?
benland =
@ -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;
};

View file

@ -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