Skip to content

Instantly share code, notes, and snippets.

View Vagahbond's full-sized avatar
🐌
💨

Vagahbond

🐌
💨
View GitHub Profile
@Vagahbond
Vagahbond / foss_and_self_hosting.md
Created July 10, 2023 14:12
FOSS and self hosting

Le FOSS et le Self Hosting

Le FOSS

Le FOSS (Free and Open Source Software) est un mouvement qui vise à promouvoir le logiciel libre et open source. Il est né dans les années 80 avec la création de la FSF (Free Software Foundation) par Richard Stallman. Le mouvement s'est ensuite développé avec la création de la OSI (Open Source Initiative) en 1998.

Les logiciels FOSS doivent respecter les 4 libertés fondamentales suivantes :

  • La liberté d'exécuter le programme, pour tous les usages ;
  • La liberté d'étudier le fonctionnement du programme, et de l'adapter à vos besoins ;
  • La liberté de redistribuer des copies ;
@Vagahbond
Vagahbond / nix_advantages.md
Created May 31, 2023 08:17
Nix advantages

Nix advantages:

  • Correct and complete packaging
  • Immutable & reproducible results
  • Easy to cross and static compile
  • Source-based (you can alter packages without forking anything)
  • Single package manager to rule them all! (C, Python, Docker, NodeJS, etc)
  • Great for development, easily switches between dev envs with direnv
  • Easy to try out packages without installing using nix shell or nix run
    • allows to create scripts that can do and depend on anything, so long as the host has nix, it'll download things automatically for them
  • Uses binary caches so you almost never need to compile anything