diff options
Diffstat (limited to 'hosts/desktop/configuration.nix')
| -rw-r--r-- | hosts/desktop/configuration.nix | 43 |
1 files changed, 16 insertions, 27 deletions
diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix index 69c95da..c0d7cfa 100644 --- a/hosts/desktop/configuration.nix +++ b/hosts/desktop/configuration.nix @@ -16,7 +16,7 @@ ../../os/default.nix ]; - # hardware.facter.reportPath = /etc/nixos/hosts/desktop/facter.json; + # hardware.facter.reportPath = ./facter.json; os = { core = { @@ -39,7 +39,8 @@ enable = true; amdgpu.enable = true; }; - kernel = "unstable"; + # kernel = "unstable"; + kernel = "stable"; }; fonts.enable = true; greet.enable = true; @@ -70,6 +71,7 @@ gaming = { enable = true; steam.enable = true; + vr.enable = true; }; virtualization = { kvm.enable = true; @@ -77,7 +79,7 @@ }; kdeconnect.enable = true; nix-helper.enable = true; - # ollama.enable = true; + ollama.enable = true; monero.enable = true; sops.enable = true; syncthing.enable = true; @@ -89,37 +91,24 @@ }; }; - 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 - ]; - }; - services.hardware.openrgb = { enable = true; motherboard = "amd"; package = pkgs.openrgb-with-all-plugins; }; + systemd.user.services.polkit-gnome-authentication-agent-1 = { + description = "polkit-gnome-authentication-agent-1"; + wantedBy = [ "graphical-session.target" ]; # No 'Install' block, lowercase 'w' + serviceConfig = { + Type = "simple"; + ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"; + Restart = "on-failure"; + RestartSec = 1; + TimeoutStopSec = 10; + }; + }; boot = { - kernelParams = [ - "video=DP-1:2560x1440@240" - "video=DP-2:1920x1080@144" - ]; kernelModules = [ "nct6687" "binder_linux" |
