disable jack and pulse (?)

match flake-foxora
This commit is contained in:
do butterflies cry? 2026-03-07 16:39:11 +10:00
parent e8676e4a29
commit 536010e275
Signed by: cry
GPG key ID: F68745A836CA0412
5 changed files with 2 additions and 90 deletions

View file

@ -81,8 +81,8 @@
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
# pulse.enable = true;
# jack.enable = true;
};
};

View file

@ -1,29 +0,0 @@
# Credit: https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles/
{ pkgs, ... }:
{
# Enable sound with pipewire.
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
wireplumber.enable = true;
# use the example session manager (no others are packaged yet so this is enabled by default,
# no need to redefine it in your config for now)
# media-session.enable = true;
};
# TODO: these should instead be manager but home-manager
environment.systemPackages = with pkgs; [
helvum
easyeffects
];
}

View file

@ -1,35 +0,0 @@
{ pkgs }:
let
#image = pkgs.fetchurl {
# url = "https://";
# sha256 = "";
#};
in
pkgs.stdenv.mkDerivation {
name = "sddm-theme";
src = pkgs.fetchFromGitHub {
owner = "MarianArlt";
repo = "sddm-sugar-dark";
rev = "ceb2c455663429be03ba62d9f898c571650ef7fe";
sha256 = "0153z1kylbhc9d12nxy9vpn0spxgrhgy36wy37pk6ysq7akaqlvy";
};
# dependencies
buildInputs = with pkgs.libsForQt5; [
qt5.qtbase
qt5.qtx11extras
qt5.qtquickcontrols2
qt5.qtgraphicaleffects
qt5.wrapQtAppsHook
#libsForQt5.qt5.qtquickcontrols2
#libsForQt5.qt5.qtgraphicaleffects
];
installPhase = ''
# move necessary files
mkdir -p $out
cp -R ./* $out/
'';
# set background
#rm $out/Background.jpg
#mv ${image} $out/Background.jpg
}

View file

@ -1,24 +0,0 @@
{pkgs}:
pkgs.stdenv.mkDerivation {
name = "sddm-theme-corners";
version = "1.0.0";
installPhase = ''
mkdir -p $out/share/sddm/themes
cp -ar $src/corners $out/share/sddm/themes/
'';
src = pkgs.fetchFromGitHub {
owner = "aczw";
repo = "sddm-theme-corners";
rev = "6ff0ff455261badcae36cd7d151a34479f157a3c";
sha256 = "0iiasrbl7ciyhq3z02la636as915zk9ph063ac7vm5iwny8vgwh8";
};
buildInputs = with pkgs; [
libsForQt5.qt5.qtgraphicaleffects
];
nativeBuildInputs = with pkgs; [
qt5.wrapQtAppsHook
];
}