added sturcture for updates
This commit is contained in:
41
modules/Sovran_SystemsOS_File_Fixes_And_New_Services.nix
Normal file
41
modules/Sovran_SystemsOS_File_Fixes_And_New_Services.nix
Normal 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" ];
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
@ -9,6 +9,7 @@
|
||||
./bitcoinecosystem.nix
|
||||
./vaultwarden.nix
|
||||
./onlyoffice.nix
|
||||
./Sovran_SystemsOS_File_Fixes_And_New_Services.nix
|
||||
/etc/nixos/hardware-configuration.nix
|
||||
];
|
||||
}
|
Reference in New Issue
Block a user