cleverca22 / not-os

An operating system generator, based on NixOS, that, given a config, outputs a small (47 MB), read-only squashfs for a runit-based operating system, with support for iPXE and signed boot.
MIT License
791 stars 40 forks source link

nixpkgs update fixes #29

Open fsagbuya opened 8 months ago

fsagbuya commented 8 months ago

Description

This PR aims to fix some errors when updating to new nixpkgs.

The following fixes are based from this commit.

  1. Add the new systemd.tmpfiles option. This is to fix the error log when switching to nixpkgs 23.11:
    error: The option `systemd.tmpfiles' does not exist
  2. Re-apply the deprecated var value due to systemd preference.

This is to fix the error of :

Missing privilege separation directory: /var/empty

Related PR: #25