Skip to content

Instantly share code, notes, and snippets.

@infinisil
Created April 2, 2018 21:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save infinisil/a03985f301f5865c9a7ef75fb1991c4d to your computer and use it in GitHub Desktop.
Save infinisil/a03985f301f5865c9a7ef75fb1991c4d to your computer and use it in GitHub Desktop.
with import <nixpkgs/nixos> {
configuration = { lib, ... }: {
services.nix-serve.enable = true;
systemd.services.nix-serve.serviceConfig.User = lib.mkForce "paul";
};
};
config.system.build.units."nix-serve.service".unit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment