From 567c22812fe1fbe525f1732661d253b3902710a9 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 22 Aug 2024 14:48:24 +0200 Subject: ... --- user-profiles/core.nix | 14 +------------- user-profiles/mpv/default.nix | 1 + 2 files changed, 2 insertions(+), 13 deletions(-) (limited to 'user-profiles') diff --git a/user-profiles/core.nix b/user-profiles/core.nix index ea782a4b..a8af48b3 100644 --- a/user-profiles/core.nix +++ b/user-profiles/core.nix @@ -5,19 +5,7 @@ with lib; { config = { users.users.${userName} = {}; # Just make sure the user is created - - home-manager.useUserService = true; - home-manager.extraSpecialArgs = { inherit flake flakeInputs path; }; - home-manager.users.${userName} = { - imports = lib.attrValues flake.homeModules; - - config = { - manual.manpages.enable = true; - systemd.user.startServices = "sd-switch"; - - programs.ssh.internallyManaged = mkForce true; - }; - }; + home-manager.users.${userName} = {}; systemd.services."home-manager-${utils.escapeSystemdPath userName}" = lib.mkIf (!config.home-manager.enableSystemd) { restartIfChanged = false; # only run once on startup, deploy to running system with deploy-rs diff --git a/user-profiles/mpv/default.nix b/user-profiles/mpv/default.nix index 7c8fc603..065b44ac 100644 --- a/user-profiles/mpv/default.nix +++ b/user-profiles/mpv/default.nix @@ -54,6 +54,7 @@ } ])}" ]; + watch-later-options = lib.concatStringsSep "," [ "start" ]; }; scripts = [ (pkgs.stdenv.mkDerivation (sources.mpv-reload // rec { -- cgit v1.2.3