mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 22:28:03 +03:00
making more modular and light
This commit is contained in:
1 parent
17295e002c
commit
7a1c01ddfa
6 files changed
+50
-76
No files matched your search
@@ -5,7 +5,7 @@
|
||||
./opencore.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = [ pkgs.limine pkgs.efibootmgr ];
|
||||
environment.systemPackages = [ pkgs.efibootmgr ];
|
||||
|
||||
boot.kernelPackages = pkgs.cachyosKernels.linuxPackages-cachyos-latest-lto-x86_64-v2;
|
||||
|
||||
|
||||
@@ -131,6 +131,7 @@ in
|
||||
fi
|
||||
else
|
||||
echo "Error: Could not find mount point for /boot!"
|
||||
exit 1
|
||||
fi
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -3,34 +3,36 @@
|
||||
{
|
||||
services.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
wireplumber.enable = true;
|
||||
|
||||
wireplumber = {
|
||||
enable = true;
|
||||
extraConfig."51-no-mic-monitor" = {
|
||||
"monitor.alsa.rules" = [
|
||||
{
|
||||
matches = [ { "node.name" = "~alsa_input.*"; } ];
|
||||
actions = {
|
||||
"update-props" = {
|
||||
"stream.dont-remix" = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
extraConfig.pipewire."92-quantum" = {
|
||||
"context.properties" = {
|
||||
"default.clock.rate" = 48000;
|
||||
"default.clock.allowed-rates" = [ 48000 ];
|
||||
"default.clock.quantum" = 1024;
|
||||
"default.clock.min-quantum" = 1024;
|
||||
"default.clock.max-quantum" = 1024;
|
||||
"default.clock.quantum" = 512;
|
||||
"default.clock.min-quantum" = 512;
|
||||
"default.clock.max-quantum" = 512;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.pipewire.wireplumber.extraConfig."51-no-mic-monitor" = {
|
||||
"monitor.alsa.rules" = [
|
||||
{
|
||||
matches = [{ "node.name" = "~alsa_input.*"; }];
|
||||
actions = {
|
||||
"update-props" = {
|
||||
"stream.dont-remix" = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -5,30 +5,31 @@
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
};
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
xdgOpenUsePortal = true;
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||||
config.hyprland.default = lib.mkForce [
|
||||
"hyprland"
|
||||
"gtk"
|
||||
];
|
||||
config = {
|
||||
common = {
|
||||
default = [
|
||||
"hyprland"
|
||||
"gtk"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
dbus.enable = true;
|
||||
pipewire = {
|
||||
enable = true;
|
||||
pulse.enable = true;
|
||||
wireplumber.enable = true;
|
||||
};
|
||||
gnome = {
|
||||
gnome-keyring.enable = true;
|
||||
gnome-settings-daemon.enable = lib.mkDefault false;
|
||||
};
|
||||
};
|
||||
services.dbus.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
pulse.enable = true;
|
||||
wireplumber.enable = true;
|
||||
};
|
||||
|
||||
security.polkit.enable = true;
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
services.gnome.gnome-settings-daemon.enable = lib.mkDefault false;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
glib
|
||||
|
||||
Reference in new issue
Block a user