diff options
Diffstat (limited to 'hosts/desktop/configuration.nix')
| -rw-r--r-- | hosts/desktop/configuration.nix | 39 |
1 files changed, 35 insertions, 4 deletions
diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix index 4382320..fc1c334 100644 --- a/hosts/desktop/configuration.nix +++ b/hosts/desktop/configuration.nix @@ -62,15 +62,21 @@ users.enable = true; }; srv = { - files.enable = true; + files = { + enable = true; + localsend.enable = true; + }; gaming = { enable = true; steam.enable = true; }; - virtualization.enable = true; + virtualization = { + kvm.enable = true; + waydroid.enable = true; + }; kdeconnect.enable = true; nix-helper.enable = true; - ollama.enable = true; + # ollama.enable = true; monero.enable = true; sops.enable = true; syncthing.enable = true; @@ -81,8 +87,33 @@ }; }; + systemd.services.oci-arm-claimer = { + description = "OCI ARM Instance Claimer Script"; + after = [ "network.target" ]; + wantedBy = [ "multi-user.target" ]; + + serviceConfig = { + WorkingDirectory = "/home/${username}/docs/oci-arm-host-capacity"; + + ExecStart = "${pkgs.php}/bin/php -d error_reporting='E_ALL & ~E_DEPRECATED' /home/${username}/docs/oci-arm-host-capacity/index.php"; + + Restart = "always"; + RestartSec = "60"; + User = "${username}"; + }; + path = [ + pkgs.php + pkgs.php82Packages.composer + ]; + }; + boot = { - kernelModules = [ "nct6687" ]; + kernelModules = [ + "nct6687" + "binder_linux" + "ashem_linux" + ]; + # kernelParams = [ "video=DP-1:2560x1440@240" ]; extraModulePackages = [ config.boot.kernelPackages.nct6687d ]; |
