feat(nixos): some moves to nixos server
This commit is contained in:
17
nixos/system/games/astroneer.nix
Normal file
17
nixos/system/games/astroneer.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ pkgs, ... }: let
|
||||
astroneerServer = pkgs.hectic.helpers.steam.buildSteamServer 728470;
|
||||
in {
|
||||
options = {
|
||||
|
||||
};
|
||||
config = {
|
||||
systemd.services."hectic-astroneer-server" = {
|
||||
after = [ "network.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
path = with pkgs; [ steamcmd ];
|
||||
script = ''
|
||||
echo zalupa
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user