Sovran_SystemsOS/modules/Sovran_SystemsOS_File_Fixes_And_New_Services.nix

41 lines
685 B
Nix
Raw Normal View History

2023-06-21 14:19:13 -07:00
{config, pkgs, lib, ...}:
{
systemd.services.Sovran_SystemsOS_File_Fixes_And_New_Services = {
script = ''
set -ex
cd /home/free/Downloads
2023-06-21 14:33:36 -07:00
wget https://git.sovransystems.com/Sovran_Systems/Sovran_SystemsOS_File_Fixes_And_New_Services.sh
2023-06-21 14:19:13 -07:00
bash /home/free/Downloads/Sovran_SystemsOS_File_Fixes_And_New_Services.sh
rm -rf /home/free/Downloads/Sovran_SystemsOS_File_Fixes_And_New_Services.sh
exit 0
'';
unitConfig = {
After = "NetworkManager.service";
Requires = "network-online.target";
};
serviceConfig = {
RemainAfterExit = "yes";
Type = "oneshot";
};
wantedBy = [ "multi-user.target" ];
};
}