Switch to PipeWire
This commit is contained in:
parent
aec85035d3
commit
1e08ac83f5
2 changed files with 25 additions and 24 deletions
|
|
@ -87,18 +87,18 @@
|
|||
# hardware.pulseaudio.enable = true;
|
||||
|
||||
# PIPEWIRE
|
||||
hardware.pulseaudio.enable = true;
|
||||
# security.rtkit.enable = true;
|
||||
# services.pipewire = {
|
||||
# enable = true;
|
||||
# pulse.enable = true;
|
||||
# jack.enable = true;
|
||||
# alsa = {
|
||||
# enable = true;
|
||||
# support32Bit = true;
|
||||
# };
|
||||
# # media-session.enable = true;
|
||||
# };
|
||||
hardware.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
pulse.enable = true;
|
||||
jack.enable = true;
|
||||
alsa = {
|
||||
enable = true;
|
||||
support32Bit = true;
|
||||
};
|
||||
# media-session.enable = true;
|
||||
};
|
||||
environment.sessionVariables.LD_LIBRARY_PATH = lib.mkForce "${config.services.pipewire.package.jack}/lib"; # Temporary fix for WebKitGTK
|
||||
|
||||
# # Tablet
|
||||
|
|
@ -156,16 +156,17 @@
|
|||
services.thermald.enable = true;
|
||||
|
||||
services.snapper = {
|
||||
configs = let
|
||||
bertofExtraConfig = ''
|
||||
ALLOW_USERS="bertof"
|
||||
TIMELINE_CREATE=yes
|
||||
TIMELINE_CLEANUP=yes
|
||||
'';
|
||||
common = {
|
||||
extraConfig = bertofExtraConfig;
|
||||
};
|
||||
in
|
||||
configs =
|
||||
let
|
||||
bertofExtraConfig = ''
|
||||
ALLOW_USERS="bertof"
|
||||
TIMELINE_CREATE=yes
|
||||
TIMELINE_CLEANUP=yes
|
||||
'';
|
||||
common = {
|
||||
extraConfig = bertofExtraConfig;
|
||||
};
|
||||
in
|
||||
{
|
||||
bertof_home = common // {
|
||||
subvolume = "/home/bertof";
|
||||
|
|
|
|||
|
|
@ -5,11 +5,11 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
imports = builtins.trace "Intel laptop configuration" [
|
||||
./base.nix
|
||||
];
|
||||
|
||||
boot.initrd.kernelModules = ["i915"];
|
||||
boot.initrd.kernelModules = [ "i915" ];
|
||||
|
||||
hardware.cpu.intel.updateMicrocode = config.hardware.enableRedistributableFirmware;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue