summaryrefslogtreecommitdiff
path: root/user-profiles
diff options
context:
space:
mode:
Diffstat (limited to 'user-profiles')
-rw-r--r--user-profiles/core.nix14
-rw-r--r--user-profiles/mpv/default.nix1
2 files changed, 2 insertions, 13 deletions
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;
5{ 5{
6 config = { 6 config = {
7 users.users.${userName} = {}; # Just make sure the user is created 7 users.users.${userName} = {}; # Just make sure the user is created
8 8 home-manager.users.${userName} = {};
9 home-manager.useUserService = true;
10 home-manager.extraSpecialArgs = { inherit flake flakeInputs path; };
11 home-manager.users.${userName} = {
12 imports = lib.attrValues flake.homeModules;
13
14 config = {
15 manual.manpages.enable = true;
16 systemd.user.startServices = "sd-switch";
17
18 programs.ssh.internallyManaged = mkForce true;
19 };
20 };
21 9
22 systemd.services."home-manager-${utils.escapeSystemdPath userName}" = lib.mkIf (!config.home-manager.enableSystemd) { 10 systemd.services."home-manager-${utils.escapeSystemdPath userName}" = lib.mkIf (!config.home-manager.enableSystemd) {
23 restartIfChanged = false; # only run once on startup, deploy to running system with deploy-rs 11 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 @@
54 } 54 }
55 ])}" 55 ])}"
56 ]; 56 ];
57 watch-later-options = lib.concatStringsSep "," [ "start" ];
57 }; 58 };
58 scripts = [ 59 scripts = [
59 (pkgs.stdenv.mkDerivation (sources.mpv-reload // rec { 60 (pkgs.stdenv.mkDerivation (sources.mpv-reload // rec {