anchor.diff:          ${config.services.journald.extraConfig}
         '';
   
  -    environment.etc."systemd/logind.conf".text =
  -      ''
  +      "systemd/logind.conf".text = ''
           [Login]
           ${config.services.logind.extraConfig}
         '';
   
  -    environment.etc."systemd/sleep.conf".text =
  -      ''
  +      "systemd/sleep.conf".text = ''
           [Sleep]
         '';
  +
  +      "tmpfiles.d/systemd.conf".source = "${systemd}/example/tmpfiles.d/systemd.conf";
  +      "tmpfiles.d/x11.conf".source = "${systemd}/example/tmpfiles.d/x11.conf";
  +
  +      "tmpfiles.d/nixos.conf".text = ''
  +        # This file is created automatically and should not be modified.
  +        # Please change the option ‘systemd.tmpfiles.rules’ instead.
  +
  +        ${concatStringsSep "\n" cfg.tmpfiles.rules}
  +      '';
  +    } // mapAttrs' (n: v: nameValuePair "systemd/system-generators/${n}" {"source"=v;}) cfg.generators;
   
       system.activationScripts.systemd = stringAfter [ "groups" ]
         ''
  
positive.code:       '';
      };
  
      systemd.defaultUnit = mkOption {
        default = "multi-user.target";
        type = types.str;
  
negative.code:         startSession = true;
        };
  
      # Some overrides to upstream units.
      systemd.services."systemd-backlight@".restartIfChanged = false;
      systemd.services."systemd-rfkill@".restartIfChanged = false;
  