mirror of
https://github.com/MagicBOTAlex/nixos-server.git
synced 2026-02-04 05:39:18 +01:00
pocket accept cors
This commit is contained in:
parent
e70aee4ab6
commit
134fe2e279
10 changed files with 320 additions and 219 deletions
41
users.nix
41
users.nix
|
|
@ -1,16 +1,12 @@
|
|||
{pkgs, ...}: {
|
||||
{ pkgs, ... }: {
|
||||
users.users.botserver = {
|
||||
isNormalUser = true;
|
||||
description = "botserver";
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"docker"
|
||||
"starr"
|
||||
];
|
||||
packages = with pkgs; [
|
||||
# thunderbird
|
||||
];
|
||||
extraGroups = [ "networkmanager" "wheel" "docker" "starr" ];
|
||||
packages = with pkgs;
|
||||
[
|
||||
# thunderbird
|
||||
];
|
||||
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAhiPhFbCi64NduuV794omgS8mctBLXtqxbaEJyUo6lg botalex@DESKTOPSKTOP-ENDVV0V"
|
||||
|
|
@ -19,16 +15,25 @@
|
|||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAfQLOKUnOARUAs8X1EL1GRHoCQ0oMun0vzL7Z78yOsM nixos@nixos"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJw1ckvXz78ITeqANrWSkJl6PJo2AMA4myNrRMBAB7xW zhentao2004@gmail.com"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA0K0fj9fJAgBrajHQJWRe0lKkmyjOUAjVn5S5zsVAQL redux@solituboks"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKhcUZbIMX0W27l/FMF5WijpdsJAK329/P008OEAfcyz botmain@nixos"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKyZOZlcQBmqSPxjaGgE2tP+K7LYziqjFUo3EX12rGtf botlap@nixos"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHo3J4vGo2eWzwXU2K6kaom8pmElX+PaAuasH5BWQ9v7 root@nixos"
|
||||
];
|
||||
};
|
||||
|
||||
users.users.starr = {
|
||||
isNormalUser = true;
|
||||
description = "For jellyfin";
|
||||
extraGroups = [
|
||||
"starr"
|
||||
];
|
||||
};
|
||||
users.motd = "Server DEPRIVED of good internet";
|
||||
|
||||
users.groups."starr" = {};
|
||||
users.users.starr = {
|
||||
isNormalUser = true;
|
||||
description = "For jellyfin";
|
||||
extraGroups = [ "starr" ];
|
||||
};
|
||||
|
||||
users.users.builder = {
|
||||
isNormalUser = true;
|
||||
description = "For test case building and such";
|
||||
extraGroups = [ "docker" ];
|
||||
};
|
||||
|
||||
users.groups."starr" = { };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue