Niver system images generator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Miraty 9e806356c4 sudoers: more restrictive regexes 2 weeks ago
mkosi.cache Commit empty directories using .gitkeep 7 months ago
mkosi.default.d SFTPGo: new build script + TOML config 7 months ago
mkosi.extra sudoers: more restrictive regexes 2 weeks ago
mkosi.skeleton Fix DNS resolution + use DoT 2 weeks ago
.gitignore Move everything in /srv/niver 6 months ago Set CNPLv7+ as license 3 months ago Set CNPLv7+ as license 3 months ago
mkosi.default Move everything in /srv/niver 6 months ago
mkosi.nspawn Initial commit 8 months ago
mkosi.postinst Fix Arch for latest mkosi + absolute_redirect off; 5 months ago
mkosi.prepare chmod +x /usr/local/bin/sftpgo 2 weeks ago

Niver system images generator

This is the sources to build system images of Niver using mkosi. You can then use them with systemd-nspawn.


This generator allows to build images for both Arch Linux and Debian Testing, you can replace <sysid> by either arch or debian in the following examples. Note that mkosi may require tools that are not available on your distribution.

You can generate a new image in /var/lib/machines/niver-<sysid> by running mkosi --force -d <sysid> from this directory (--force will erase an already existing image).

You will need to copy mkosi.nspawn into /etc/systemd/nspawn/niver-<sysid>.nspawn to allow the container to use network without restrictions.

You can then boot the container:

machinectl start niver-<sysid>
machinectl shell niver-<sysid>

The full explanation of the structure in this repository can be found on the mkosi manpage. Here is a summary of what mkosi will do in this repository:

  1. Load configuration from mkosi.default and mkosi.default.d/<sysid>/mkosi.default
  2. Add mkosi.skeleton
  3. Install packages according to configuration
  4. Run mkosi.prepare
  5. Add mkosi.extra
  6. Run mkosi.postinst


Niver system images generator is ethical libre software: you can use, redistribute or modify it under the terms of the CNPL-NAv7+ as found in or at