Skip to content

Commit

Permalink
docs: add document explaining differences
Browse files Browse the repository at this point in the history
  • Loading branch information
mkg20001 committed Mar 12, 2024
1 parent 4022877 commit 8446e74
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions DIFFERENCES_NIXOS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Differences between vanilla NixOS and nix-unify

## Systemd services

Services aren't automatically enabled

`nix-unify.modules.shareSystemd.enable` (default true) must be enabled for systemd sharing to work

In nix-unify, after creating a service it needs to be added to `nix-unify.modules.shareSystemd.units`

In order to override an existing host-service the service additionally needs to be added to `nix-unify.modules.shareSystemd.replace`

## Path

`nix-unify.modules.sharePath.enable` (default true) must be enabled for /run/current-system/sw/bin to be added to the host's path

## Networkd

`nix-unify.modules.shareNetworkd.enable` (default false) must be enavbled for networkd configuration to be replaced by the one provided by nixos

Note: If ifupdown is detected, ifupdown is disabled before activating networkd.

## Tmpfiles

Not currently supported, support planned

## /etc

Symlinks in /etc aren't automatically created

`nix-unify.files.etc."file-or-folder" = {}` can be used to create a symlink from the nixos /etc to the host's /etc

## Starting services

For now this needs to be done manually or via rebooting. Support wip.

0 comments on commit 8446e74

Please sign in to comment.