This commit is contained in:
commit
f676b4d7a5
2 changed files with 7 additions and 2 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue