mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
feat: big fixups
This commit is contained in:
parent
6e0cc170eb
commit
fb814ed301
13 changed files with 52 additions and 70 deletions
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
}
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (config.catppuccin) sources;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (config.base16) palette;
|
||||
|
|
|
|||
|
|
@ -1,17 +1,12 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
home.packages = with pkgs; [
|
||||
(discord-krisp.override {
|
||||
withOpenASAR = true;
|
||||
withMoonlight = true;
|
||||
withVencord = false; # can do this here too
|
||||
})
|
||||
legcord
|
||||
#dorion
|
||||
#betterdiscordctl
|
||||
];
|
||||
|
||||
programs.moonlight-mod = {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
{
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
_: {
|
||||
programs.firefox.profiles.main = {
|
||||
containersForce = true;
|
||||
containers = {
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
self,
|
||||
config,
|
||||
lib,
|
||||
std,
|
||||
|
|
|
|||
|
|
@ -1,8 +1,16 @@
|
|||
{pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [pulsemixer pwvucontrol easyeffects];
|
||||
|
||||
services.pulseaudio.enable = false;
|
||||
services.pipewire.extraConfig.pipewire."92-low-latency" = {
|
||||
services = {
|
||||
pulseaudio.enable = false;
|
||||
pipewire = {
|
||||
enable = true;
|
||||
pulse.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
jack.enable = true;
|
||||
alsa.enable = true;
|
||||
extraConfig = {
|
||||
pipewire."92-low-latency" = {
|
||||
"context.properties" = {
|
||||
"default.clock.rate" = 48000;
|
||||
"default.clock.quantum" = 256;
|
||||
|
|
@ -10,7 +18,20 @@
|
|||
"default.clock.max-quantum" = 256;
|
||||
};
|
||||
};
|
||||
services.pipewire.extraConfig.pipewire-pulse."92-low-latency" = {
|
||||
pipewire-pulse = {
|
||||
"91-discord-latency" = {
|
||||
pulse.rules = [
|
||||
{
|
||||
matches = [{"application.process.binary" = "Discord";}];
|
||||
actions = {
|
||||
update-props = {
|
||||
"pulse.min.quantum" = "1024/48000";
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
"92-low-latency" = {
|
||||
"context.properties" = [
|
||||
{
|
||||
name = "libpipewire-module-protocol-pulse";
|
||||
|
|
@ -29,24 +50,9 @@
|
|||
"resample.quality" = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire.extraConfig.pipewire-pulse."91-discord-latency" = {
|
||||
pulse.rules = [
|
||||
{
|
||||
matches = [{"application.process.binary" = "Discord";}];
|
||||
actions = {
|
||||
update-props = {
|
||||
"pulse.min.quantum" = "1024/48000";
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
pulse.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
jack.enable = true;
|
||||
alsa.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,14 +27,7 @@ with pkgs; let
|
|||
repo.darwinConfigurations);
|
||||
shellHook = ''
|
||||
export CI_PLATFORM="impure"
|
||||
sops
|
||||
echo -e "\e[39m\e[1m$USER@$REPO_HOSTNAME - \e[35m''$(realpath --relative-to=../ ./nixos/)\e[0m"
|
||||
echo -e "\e[35mRunning alejandra\e[0m"
|
||||
alejandra -cq $(fd -e nix)
|
||||
echo -e "\e[35mRunning statix\e[0m"
|
||||
statix check
|
||||
echo -e "\e[35mRunning deadnix\e[0m"
|
||||
deadnix
|
||||
'';
|
||||
};
|
||||
in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue