Add juvi user; Add juvi website

This commit is contained in:
xqtc 2024-10-21 20:33:50 +02:00
parent e628300627
commit bb828450c9
Signed by: xqtc
GPG key ID: 2C064D095926D9D1
2 changed files with 107 additions and 43 deletions

View file

@ -12,6 +12,7 @@ with lib; {
./jellyfin.nix ./jellyfin.nix
./calibre-web.nix ./calibre-web.nix
./transmission.nix ./transmission.nix
./external-users.nix
./fail2ban.nix ./fail2ban.nix
./lanrarari.nix ./lanrarari.nix
# ./hydra.nix # ./hydra.nix
@ -135,6 +136,12 @@ with lib; {
file_server file_server
''; '';
}; };
"juvi.likes.graphics" = {
extraConfig = ''
root * /var/www/juvi-website/
file_server
'';
};
"servers" = { "servers" = {
extraConfig = '' extraConfig = ''
metrics metrics
@ -182,49 +189,49 @@ with lib; {
]; ];
}; };
users.users.marie = { # users.users.marie = {
isNormalUser = true; # isNormalUser = true;
packages = with pkgs; [ # packages = with pkgs; [
git # git
wget # wget
]; # ];
openssh.authorizedKeys.keys = [ # openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN0mGd4YS4f3Wy+a4PBXbie42C5Qo4H0uWsN7joaK27h marie@titania" # "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN0mGd4YS4f3Wy+a4PBXbie42C5Qo4H0uWsN7joaK27h marie@titania"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFckmWImlMVsCbu5M1lsLtzxhBxrQhTQHYrKWJYDOHr5 marie@oberon" # "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFckmWImlMVsCbu5M1lsLtzxhBxrQhTQHYrKWJYDOHr5 marie@oberon"
]; # ];
}; # };
users.users.mo = { # users.users.mo = {
isNormalUser = true; # isNormalUser = true;
packages = with pkgs; [ # packages = with pkgs; [
git # git
wget # wget
]; # ];
openssh.authorizedKeys.keys = [ # openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFjRrLI5mBnoIMcjq2WGPCGuKYLwS7uhgI6F0T5ojp6n moe@martini.moe" # "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFjRrLI5mBnoIMcjq2WGPCGuKYLwS7uhgI6F0T5ojp6n moe@martini.moe"
]; # ];
}; # };
#
users.users.ellie = { # users.users.ellie = {
isNormalUser = true; # isNormalUser = true;
packages = with pkgs; [ # packages = with pkgs; [
git # git
wget # wget
]; # ];
openssh.authorizedKeys.keys = [ # openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKA4+3PkFptATzrWncxdj63SqZ747cDb8TqmdQFugvW7 ellie@card" # "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKA4+3PkFptATzrWncxdj63SqZ747cDb8TqmdQFugvW7 ellie@card"
]; # ];
}; # };
#
users.users.brodo = { # users.users.brodo = {
isNormalUser = true; # isNormalUser = true;
packages = with pkgs; [ # packages = with pkgs; [
git # git
wget # wget
]; # ];
openssh.authorizedKeys.keys = [ # openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAZqFlE49ln4iAcVNzUaTXbFW6SA8Wwxl1hiwUkegUfy julian@example.com" # "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAZqFlE49ln4iAcVNzUaTXbFW6SA8Wwxl1hiwUkegUfy julian@example.com"
]; # ];
}; # };
users.users.root.openssh.authorizedKeys.keys = [ users.users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJTLJqIVwnqFO64rnc66d234TFOdFXpDS9fJUA4/f4in xqtc@alastor" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJTLJqIVwnqFO64rnc66d234TFOdFXpDS9fJUA4/f4in xqtc@alastor"

View file

@ -0,0 +1,57 @@
{config, pkgs, lib, ...}:
{
users.users.marie = {
isNormalUser = true;
packages = with pkgs; [
git
wget
];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN0mGd4YS4f3Wy+a4PBXbie42C5Qo4H0uWsN7joaK27h marie@titania"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFckmWImlMVsCbu5M1lsLtzxhBxrQhTQHYrKWJYDOHr5 marie@oberon"
];
};
users.users.mo = {
isNormalUser = true;
packages = with pkgs; [
git
wget
];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFjRrLI5mBnoIMcjq2WGPCGuKYLwS7uhgI6F0T5ojp6n moe@martini.moe"
];
};
users.users.ellie = {
isNormalUser = true;
packages = with pkgs; [
git
wget
];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKA4+3PkFptATzrWncxdj63SqZ747cDb8TqmdQFugvW7 ellie@card"
];
};
users.users.brodo = {
isNormalUser = true;
packages = with pkgs; [
git
wget
];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAZqFlE49ln4iAcVNzUaTXbFW6SA8Wwxl1hiwUkegUfy julian@example.com"
];
};
users.users.juvi = {
isNormalUser = true;
packages = with pkgs; [
git
wget
];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGoWyG1XphHZJd9qJwv2c4NvRQpNMN7Q7o/NLRNKsn/j danb@ha.si"
];
};
}