summaryrefslogtreecommitdiff
path: root/hosts/desktop
diff options
context:
space:
mode:
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";