Giter Club home page Giter Club logo

fnix's Introduction

fnix

Nix configuration of f-klubben servers

Structure

pkgs

Contains all of our Nix packages, such as Stregsystemet.

modules

Contains reusable and configurable NixOS modules, such as one for using Stregsystemet. These should not be specific to one system.

system

Contains modules specific to our system. This is where we use the packages in pkgs and configure the modules in modules.

Contributing

Open a pull request and let someone review it.

fnix's People

Contributors

mast3rwaf1z avatar tobiassn avatar krestenlaust avatar

Watchers

Kenneth Yrke Jørgensen avatar Troels Beck Krøgh avatar  avatar Jonas G avatar Falke Carlsen avatar Jonas Mærsk Thye Kjellerup avatar  avatar  avatar

fnix's Issues

Configuration structure

Write a very general draft for a default.nix, initial packages, bootloader, networking etc.

Setup GitHub Actions

Having CI through GitHub Actions would allow us to automate quite a few tasks. Initially we could use it to automatically check that packages build, and that their tests run successfully, before we merge PRs.

Later on, after the VPS is up and running, we might also automate deployment, though I think that should be covered by a separate issue where the concrete details of that could be hashed out.

Write README

thinking something like this:

dev env

  • recommended to test in a VM
    • maybe even add how to replicate the system
  • clone to /etc/nixos

new services

  • add in /etc/nixos/services
  • custom services example

some diagram of the system architecture could also be nice, like where the http server would have endpoints at, or which services are at which ports

Package Stregsystemet

Most of the work is done ish, main tasks remaining is:

  • dependencies:
    • django-select2
  • options
    • settings.py options (sed -i ''<line num> i <option> = <value>" treo/setup.py in reverse order is sufficient, do this for every config option)
    • db file (this has to be set to a writable location)
    • data file (example is the ones under stregsystem/fixtures/)

notes

  • django-select2 is not in nixpkgs, so we have to package this ourselves as well

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.