summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2026-03-13 23:41:17 +0100
committeradikro <adikro@disroot.org>2026-03-13 23:41:17 +0100
commitf0c0e311c003057f24d8045509a627ad2acab978 (patch)
treea1955fe601c487aab46fa47838cd25b8273508ac /hosts
parentffefb53956c38909da77fe7ebbbb5d8b5dd823b9 (diff)
removing obsolete stuff
Diffstat (limited to 'hosts')
-rw-r--r--hosts/desktop/configuration.nix43
-rw-r--r--hosts/desktop/home.nix1
2 files changed, 17 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"
diff --git a/hosts/desktop/home.nix b/hosts/desktop/home.nix
index 9ca7073..a637d12 100644
--- a/hosts/desktop/home.nix
+++ b/hosts/desktop/home.nix
@@ -23,6 +23,7 @@
};
editors.nixvim.enable = true;
env = {
+ mako.enable = true;
niri.enable = true;
cursor = {
size = 48;