summaryrefslogtreecommitdiff
path: root/hosts/desktop
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2026-05-10 23:02:01 +0200
committeradikro <adikro@disroot.org>2026-05-10 23:02:01 +0200
commit7c8503e8fa77cb20819e2ba5a6a0f1a261cf089f (patch)
tree212001f743fba7224ac57007e1a499c7615c0b19 /hosts/desktop
parentbaf1cf5664b481de17849c97dc683fa81ade1c2e (diff)
added basic configuration for nginx, oci-containers and simplex-chat servers
Diffstat (limited to 'hosts/desktop')
-rw-r--r--hosts/desktop/configuration.nix25
1 files changed, 11 insertions, 14 deletions
diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix
index b334630..2458dec 100644
--- a/hosts/desktop/configuration.nix
+++ b/hosts/desktop/configuration.nix
@@ -2,6 +2,7 @@
config,
username,
pkgs-stable,
+ pkgs,
...
}:
{
@@ -27,6 +28,7 @@
};
drivers = {
enable = true;
+ kernel = "zen";
cpu = "amd";
graphics = {
enable = true;
@@ -83,7 +85,6 @@
virtualization.kvm.enable = true;
kdeconnect.enable = true;
nix-helper.enable = true;
- ollama.enable = true;
monero.enable = true;
sops.enable = true;
syncthing.enable = true;
@@ -96,18 +97,9 @@
};
};
- services.xserver.desktopManager.xfce = {
- enable = true;
- enableWaylandSession = true;
- waylandSessionCompositor = "labwc";
- enableScreensaver = false;
- };
-
- programs = {
- xfconf.enable = true;
- thunar.enable = true;
- };
-
+ environment.systemPackages = with pkgs; [
+ openmw
+ ];
boot = {
kernelModules = [
"nct6687"
@@ -119,6 +111,12 @@
];
};
+ boot.kernelParams = [
+ "split_lock_detect=off"
+ "amdgpu.ppfeaturemask=0xffffffff"
+ "preempt=full"
+ ];
+
services.netbox = {
enable = true;
package = pkgs-stable.netbox;
@@ -134,7 +132,6 @@
};
};
- networking.firewall.allowedTCPPorts = [ 80 ];
services.nginx = {
enable = true;
user = "netbox";