Recreated nix files
This commit is contained in:
@@ -78,16 +78,16 @@
|
||||
catppuccin.nixosModules.catppuccin # theme
|
||||
|
||||
# end_script as a systemd service
|
||||
({ lib, config, pkgs, ... }: {
|
||||
({ lib, config, pkgs, ... }: {
|
||||
systemd.user.services.endScript = lib.mkIf (builtins.pathExists ./assets/scripts/end_script.sh) {
|
||||
description = "Run end script after Home Manager";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "home-manager-activate.service" ];
|
||||
serviceConfig.Type = "oneshot";
|
||||
script = ''
|
||||
${./assets/scripts/end_script.sh}
|
||||
'';
|
||||
};
|
||||
description = "Run end script after Home Manager";
|
||||
wantedBy = [ "default.target" ];
|
||||
after = [ "home-manager-henrov.service" ];
|
||||
serviceConfig.Type = "oneshot";
|
||||
script = ''
|
||||
${pkgs.bash}/bin/bash ${./assets/scripts/end_script.sh}
|
||||
'';
|
||||
};
|
||||
})
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user