diff --git a/hosts/x86_64-linux/beleth/default.nix b/hosts/x86_64-linux/beleth/default.nix index 21e3a03..d152bf2 100644 --- a/hosts/x86_64-linux/beleth/default.nix +++ b/hosts/x86_64-linux/beleth/default.nix @@ -12,6 +12,7 @@ with lib; { ./jellyfin.nix ./calibre-web.nix ./transmission.nix + ./external-users.nix ./fail2ban.nix ./lanrarari.nix # ./hydra.nix @@ -135,6 +136,12 @@ with lib; { file_server ''; }; + "juvi.likes.graphics" = { + extraConfig = '' + root * /var/www/juvi-website/ + file_server + ''; + }; "servers" = { extraConfig = '' metrics @@ -182,49 +189,49 @@ with 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.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.root.openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJTLJqIVwnqFO64rnc66d234TFOdFXpDS9fJUA4/f4in xqtc@alastor" diff --git a/hosts/x86_64-linux/beleth/external-users.nix b/hosts/x86_64-linux/beleth/external-users.nix new file mode 100644 index 0000000..ac771b6 --- /dev/null +++ b/hosts/x86_64-linux/beleth/external-users.nix @@ -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" + ]; + }; +}