Recreated nix files
This commit is contained in:
+296
-296
File diff suppressed because it is too large
Load Diff
@@ -717,11 +717,11 @@ We also add a devshell that makes editing this repository easier in emacs.
|
|||||||
({ lib, config, pkgs, ... }: {
|
({ lib, config, pkgs, ... }: {
|
||||||
systemd.user.services.endScript = lib.mkIf (builtins.pathExists ./assets/scripts/end_script.sh) {
|
systemd.user.services.endScript = lib.mkIf (builtins.pathExists ./assets/scripts/end_script.sh) {
|
||||||
description = "Run end script after Home Manager";
|
description = "Run end script after Home Manager";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "default.target" ];
|
||||||
after = [ "home-manager-activate.service" ];
|
after = [ "home-manager-henrov.service" ];
|
||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
||||||
script = ''
|
script = ''
|
||||||
${./assets/scripts/end_script.sh}
|
${pkgs.bash}/bin/bash ${./assets/scripts/end_script.sh}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -81,11 +81,11 @@
|
|||||||
({ lib, config, pkgs, ... }: {
|
({ lib, config, pkgs, ... }: {
|
||||||
systemd.user.services.endScript = lib.mkIf (builtins.pathExists ./assets/scripts/end_script.sh) {
|
systemd.user.services.endScript = lib.mkIf (builtins.pathExists ./assets/scripts/end_script.sh) {
|
||||||
description = "Run end script after Home Manager";
|
description = "Run end script after Home Manager";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "default.target" ];
|
||||||
after = [ "home-manager-activate.service" ];
|
after = [ "home-manager-henrov.service" ];
|
||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
||||||
script = ''
|
script = ''
|
||||||
${./assets/scripts/end_script.sh}
|
${pkgs.bash}/bin/bash ${./assets/scripts/end_script.sh}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user