Coder Social home page Coder Social logo

own-nix-os-config's Introduction

Install

see install.sh

Notes

  • Nextcloud needs some manual love

SOPS

get the age Key and add it to .sops.yaml and run nix-shell. Note to myself: Your PGP Key is the final backup, take good care of it ๐Ÿ™‚

TODO's

Hardening

  • Secure Boot
  • Limit Local Login possibility
  • Rate Limit ssh Logins

More Features

General

  • Use Case for TPM2 ?
    • ssh host key on TPM for remote disk unlock to prevent MITM-Attack by reading boot partition ? Secure Boot needs to be also enabled for this to work
  • "Automatic" updates ? Github build pipeline ?

Local Network Only

  • Jellyfin ?
  • Stash ?
  • Jellyseerrr ?
  • Servarr ?
  • Sabnzbd ?
  • Mealie ?
  • tdarr ?

Public Network

  • Some sensible Site

Cleanup

Generally cleanup the code to be more readable

Housekeeping

Self-signed Certs

nix-shell -p openssl
cd /persistent/var/lib/self-signed-nginx-cert
openssl ecparam -genkey -name secp521r1 -out homelab-local-root.key
openssl req -new -key homelab-local-root.key -out csr-wildcard-homelab-local.pem
openssl req -x509 -nodes -days 365 -key homelab-local-root.key -in csr-wildcard-homelab-local.pem -out wildcard-homelab-local.pem
chmod 600 /persistent/var/lib/self-signed-nginx-cert/*
chown nginx:nginx /persistent/var/lib/self-signed-nginx-cert/*

Noteworthy Stuff

  • Using encrypted bcachefs with remote unlock
  • borgbackup with bcachefs subvolume snapshot
  • Impermanence with bcachefs via systemd Service on boot
  • new tailscale cert on boot for nginx

own-nix-os-config's People

Contributors

a4blue avatar

Watchers

 avatar

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.