added sturcture for updates

This commit is contained in:
2023-06-21 14:19:13 -07:00
parent ff210c102b
commit 818ac70475
4 changed files with 115 additions and 0 deletions

View File

@ -0,0 +1,41 @@
{config, pkgs, lib, ...}:
{
systemd.services.Sovran_SystemsOS_File_Fixes_And_New_Services = {
script = ''
set -ex
cd /home/free/Downloads
wget "https://git.sovransystems.com/Sovran_Systems/Sovran_SystemsOS_File_Fixes_And_New_Services.sh"
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 = {
Type = "simple";
After = "NetworkManager.service";
Requires = "network-online.target";
};
serviceConfig = {
RemainAfterExit = "yes";
Type = "oneshot";
};
wantedBy = [ "multi-user.target" ];
};
}

View File

@ -9,6 +9,7 @@
./bitcoinecosystem.nix
./vaultwarden.nix
./onlyoffice.nix
./Sovran_SystemsOS_File_Fixes_And_New_Services.nix
/etc/nixos/hardware-configuration.nix
];
}