DEVELOPMENT ENVIRONMENT

~liljamo/canwa

85362b834fe09a345d51b73441f87464b4a6b6a5 — Jonni Liljamo 27 days ago 3a2ad3d
fix(nix): create user in module
1 files changed, 6 insertions(+), 0 deletions(-)

M nix/module.nix
M nix/module.nix => nix/module.nix +6 -0
@@ 40,6 40,12 @@ in {
  };

  config = lib.mkIf cfg.enable {
    users.users.${cfg.user} = {
      isSystemUser = true;
      group = "${cfg.group}";
    };
    users.groups.${cfg.group} = {};

    systemd.services.canwa = {
      description = "canwa";
      after = ["network-online.target"];