Add swap devices and update Prefect variables
- Add swap devices configuration to citadel and semita hosts - Update Prefect variable for OSM directory in baseddata-worker - Set swap device size to 32*1024 for both citadel and semita hosts
This commit is contained in:
parent
45ee82da0e
commit
2c44487796
|
@ -71,6 +71,11 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
swapDevices = [ {
|
||||||
|
device = "/.swapvol/swapfile";
|
||||||
|
size = 32*1024;
|
||||||
|
} ];
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
libinput.touchpad.accelSpeed = "0.5";
|
libinput.touchpad.accelSpeed = "0.5";
|
||||||
xserver = {
|
xserver = {
|
||||||
|
|
|
@ -233,7 +233,7 @@ in {
|
||||||
.venv/bin/prefect variable set "bitcoind_ip" ${bitcoindIp} --overwrite
|
.venv/bin/prefect variable set "bitcoind_ip" ${bitcoindIp} --overwrite
|
||||||
.venv/bin/prefect variable set "bitcoind_port" ${bitcoindPort} --overwrite
|
.venv/bin/prefect variable set "bitcoind_port" ${bitcoindPort} --overwrite
|
||||||
|
|
||||||
.venv/bin/prefect variable set "osm_history_dir" "/media/baseddata-data/osm-history" --overwrite
|
.venv/bin/prefect variable set "osm_dir" "/media/baseddata-data/osm" --overwrite
|
||||||
.venv/bin/prefect variable set "mongo_db_name" "baseddata" --overwrite
|
.venv/bin/prefect variable set "mongo_db_name" "baseddata" --overwrite
|
||||||
.venv/bin/prefect variable set "postgres_dbname" "baseddata" --overwrite
|
.venv/bin/prefect variable set "postgres_dbname" "baseddata" --overwrite
|
||||||
.venv/bin/prefect variable set "postgres_schema" "models_final" --overwrite
|
.venv/bin/prefect variable set "postgres_schema" "models_final" --overwrite
|
||||||
|
|
|
@ -99,6 +99,11 @@ in {
|
||||||
vaapiIntel = pkgs.vaapiIntel.override {enableHybridCodec = true;};
|
vaapiIntel = pkgs.vaapiIntel.override {enableHybridCodec = true;};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
swapDevices = [ {
|
||||||
|
device = "/.swapvol/swapfile";
|
||||||
|
size = 32*1024;
|
||||||
|
} ];
|
||||||
|
|
||||||
hardware.opengl = {
|
hardware.opengl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
|
|
Loading…
Reference in New Issue