summaryrefslogtreecommitdiff
path: root/hosts/desktop/configuration.nix
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2026-01-08 20:40:35 +0100
committeradikro <adikro@disroot.org>2026-01-08 20:40:35 +0100
commit5d0f2554cf56459b0afd27d3ed437a7fa50602a9 (patch)
treebfaa6a1f79e942f54db2bc76cb47a8771b9c8f3e /hosts/desktop/configuration.nix
parent5b074f906a954ac25805ce6cbcbf7568cd97dafc (diff)
some modularization
Diffstat (limited to 'hosts/desktop/configuration.nix')
-rw-r--r--hosts/desktop/configuration.nix36
1 files changed, 6 insertions, 30 deletions
diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix
index ecef098..e09c622 100644
--- a/hosts/desktop/configuration.nix
+++ b/hosts/desktop/configuration.nix
@@ -14,12 +14,14 @@
allowUnfree.enable = true;
flatpak.enable = true;
- audio.enable = true;
+ audio = {
+ enable = true;
+ disable-devices.enable = true;
+ };
bootloader = "systemd-boot";
drivers = {
enable = true;
amdgpu.enable = true;
- stability = "stable";
};
fonts.enable = true;
greet.enable = true;
@@ -60,6 +62,8 @@
kvm.enable = true;
nix-helper.enable = true;
ollama.enable = true;
+ bluetooth.enable = true;
+ zzz.enable = true;
};
wm = {
enable = true;
@@ -67,16 +71,6 @@
};
};
- environment.systemPackages = with pkgs; [
- rivalcfg
- ];
-
- services.blueman.enable = true;
- hardware.bluetooth = {
- enable = true;
- powerOnBoot = true;
- };
-
boot = {
kernelParams = [ "video=DP-1:2560x1440@240" ];
kernelModules = [ "nct6687" ];
@@ -84,22 +78,4 @@
config.boot.kernelPackages.nct6687d
];
};
- services.pipewire.wireplumber.extraConfig."99-disable-useless-devices"."monitor.alsa.rules" = [{
- matches = [
- { "device.name" = "~alsa_card.pci-0000_03_00.1*"; }
- { "device.description" = "~USB Audio*"; }
- ];
- actions.update-props = { "device.disabled" = true; };
- }];
-
- systemd.user.services.zzz-presence = {
- description = "Zenless Zone Zero Discord Rich Presence";
- wantedBy = [ "default.target" ];
-
- serviceConfig = {
- ExecStart = "${pkgs.python3.withPackages (ps: [ ps.pypresence ])}/bin/python3 /etc/nixos/resources/zzz.py";
- Restart = "always";
- RestartSec = "10";
- };
- };
}