summaryrefslogtreecommitdiff
path: root/hosts/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/desktop')
-rw-r--r--hosts/desktop/configuration.nix39
-rw-r--r--hosts/desktop/disko.nix4
-rw-r--r--hosts/desktop/home.nix26
3 files changed, 63 insertions, 6 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
];
diff --git a/hosts/desktop/disko.nix b/hosts/desktop/disko.nix
index 93941e9..d9be765 100644
--- a/hosts/desktop/disko.nix
+++ b/hosts/desktop/disko.nix
@@ -3,7 +3,7 @@
disk = {
main = {
type = "disk";
- device = "/dev/nvme0n1";
+ device = "/dev/disk/by-id/nvme-Lexar_SSD_NM790_2TB_PM5679R0036090P270";
content = {
type = "gpt";
partitions = {
@@ -114,7 +114,7 @@
};
storage = {
type = "disk";
- device = "/dev/sda";
+ device = "/dev/disk/by-id/ata-WDC_WD20EZBX-00AYRA0_WD-WXA2D63K8CLK";
content = {
type = "gpt";
partitions = {
diff --git a/hosts/desktop/home.nix b/hosts/desktop/home.nix
index 8211143..196617b 100644
--- a/hosts/desktop/home.nix
+++ b/hosts/desktop/home.nix
@@ -59,4 +59,30 @@
yt-dlp.enable = true;
};
};
+
+ programs.niri.settings.outputs = {
+ "DP-1" = {
+ focus-at-startup = true;
+ variable-refresh-rate = "on-demand";
+ position = {
+ x = 0;
+ y = 0;
+ };
+ mode = {
+ width = 2560;
+ height = 1440;
+ };
+ };
+ "DP-2" = {
+ variable-refresh-rate = "on-demand";
+ position = {
+ x = 2560;
+ y = 360;
+ };
+ mode = {
+ width = 1920;
+ height = 1080;
+ };
+ };
+ };
}