feat: a lot of stuff

This commit is contained in:
Jacob Bachmann 2024-08-19 13:26:33 +02:00
parent e6a98be608
commit 2a9cfe768f
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
11 changed files with 70 additions and 18 deletions

View file

@ -2,18 +2,18 @@
services.pipewire = lib.mkIf (!builtins.elem "gnome" config.bchmnn.gui.flavour) {
enable = true;
audio.enable = true;
pulse.enable = true;
alsa.enable = true;
alsa.support32Bit = true;
jack.enable = true;
pulse.enable = true;
wireplumber.enable = true;
extraConfig.pipewire = lib.mkIf config.bchmnn.audio.pipewire-wine-fix.enable {
"90-wine-config" = {
"context.properties" = {
# "default.clock.rate" = 48000;
# "default.clock.allowed-rates" = [ 48000 ];
"default.clock.allowed-rates" = [ 44100 48000 ];
# "default.clock.quantum" = 2048;
"default.clock.min-quantum" = 1024;
# "default.clock.min-quantum" = 1024;
};
};
};
@ -21,8 +21,8 @@
"90-wine-config" = {
"pulse.properties" = {
"pulse.min.req" = "1024/48000";
"pulse.min.frag" = "1024/48000";
"pulse.min.quantum" = "1024/48000";
# "pulse.min.frag" = "1024/48000";
# "pulse.min.quantum" = "1024/48000";
};
};
};

View file

@ -81,6 +81,7 @@
./kdeconnect.nix
./keyd.nix
./man.nix
./memtest86.nix
./nautilus.nix
./network.nix
./nh.nix

4
modules/memtest86.nix Normal file
View file

@ -0,0 +1,4 @@
{ config, ... }: {
boot.loader.systemd-boot.memtest86.enable = config.boot.loader.systemd-boot.enable;
boot.loader.grub.memtest86.enable = config.boot.loader.grub.enable;
}

View file

@ -15,8 +15,8 @@ in
shellAliases = aliases;
};
programs.htop = {
enable = true;
programs = {
htop.enable = true;
iftop.enable = true;
};
}