feat: a lot of stuff
This commit is contained in:
parent
e6a98be608
commit
2a9cfe768f
11 changed files with 70 additions and 18 deletions
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -81,6 +81,7 @@
|
|||
./kdeconnect.nix
|
||||
./keyd.nix
|
||||
./man.nix
|
||||
./memtest86.nix
|
||||
./nautilus.nix
|
||||
./network.nix
|
||||
./nh.nix
|
||||
|
|
|
|||
4
modules/memtest86.nix
Normal file
4
modules/memtest86.nix
Normal 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;
|
||||
}
|
||||
|
|
@ -15,8 +15,8 @@ in
|
|||
shellAliases = aliases;
|
||||
};
|
||||
|
||||
programs.htop = {
|
||||
enable = true;
|
||||
programs = {
|
||||
htop.enable = true;
|
||||
iftop.enable = true;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue