summaryrefslogtreecommitdiff
path: root/hosts/desktop/configuration.nix
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2026-03-01 19:57:16 +0100
committeradikro <adikro@disroot.org>2026-03-01 19:57:16 +0100
commit1be09af058424219de2aad4b9cc27ccf760d23f6 (patch)
treebdc1177b166e1eef36763984b6862d7755a7bde8 /hosts/desktop/configuration.nix
parent4b41ce640c5eddcb50904331e03aac5460caa144 (diff)
...
Diffstat (limited to 'hosts/desktop/configuration.nix')
-rw-r--r--hosts/desktop/configuration.nix39
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
];