Giter VIP home page Giter VIP logo

phenix's Introduction

Heyo, I'm Sofi. ๐Ÿ‘‹

I enjoy messing around with computers and technology.

My current language interests are Nix, Elixir, and Ruby!

Stats:

phenix's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar soupglasses avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

phenix's Issues

Refactor configuration into NixOS Modules

Currently, the system follows an annoying pattern where dependencies are declared as comments suffixing the import.

# Base configuration
./modules/base/acme.nix
./modules/base/nginx.nix # requires: base/acme.nix
./modules/base/postgresql.nix
# Auth management
./modules/authentication/ldap # requires: base/acme.nix
# Web services
./modules/nginx.nix # requires: base/acme.nix base/nginx.nix
./modules/monitoring/default.nix # requires: nginx.nix
./modules/ttrss.nix # requires: base/acme.nix base/nginx.nix base/postgresql.nix
./modules/jellyfin.nix # requires: base/acme.nix base/nginx.nix
./modules/nextcloud.nix # requires: base/acme.nix base/nginx.nix base/postgresql.nix
# Game servers
./modules/minecraft.nix

Implement a more general module system which can handle the requirements on base modules and possibly also be portable between multiple hosts.

SSO auth frontend

Currently, the source of truth for user accounts is stored under OpenLDAP. Figure out a method such that users can interact with this database, and possibly use SSO like features with it.

Current plan is to use Canaille for this. However Keycloak and Authelia are also strong contenders.

LDAP: initialize users without manual steps

For OpenLDAP, write a script or find a method to initialize users through an automated fashion.

Current required users for building:

  • cn=auth,ou=system,dc=byte,dc=surf with password from sops ldap/auth-password
  • cn=ttrss,ou=system,dc=byte,dc=surf with password from sops ttrss/ldap-password
  • TODO: cn=jellyfin,ou=system,dc=byte,dc=surf with password from sops jellyfin/ldap-password

Multi-module infrastructure for Flakes

Use something akin to the design of https://github.com/Infinisil/nixus to allow NixOS's module system to span across multiple host configurations.

Main problem points is that Nixus is not designed for Flake use, so this will require work on our end to enable such a system to work correctly. Deployment is still up in the air.

Move package trust into signing of NARs

Currently, a use of root, sudo and trusted-users configuration inside nix is applied to bypass signature verification of built derivations and nix archives (NARs).

Figure out an effective method to generate and apply these. Use sops to avoid having multiple/loose keys.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.