add coolercontrol for solaire, flatpak for all hosts and switch to pipewire

This commit is contained in:
Anthony Rodriguez 2024-08-29 14:40:13 +02:00
parent 4d53c1848b
commit 01e8251286
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
5 changed files with 26 additions and 3 deletions

View file

@ -455,11 +455,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1724710305, "lastModified": 1724727283,
"narHash": "sha256-qotbY/mgvykExLqRLAKN4yeufPfIjnMaK6hQQFhE2DE=", "narHash": "sha256-F7AUWC2p20zbQuymca1jB70OH/MQ0MYgkhUsY+7K0cg=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "eac092c876e4c4861c6df0cff93e25b972b1842c", "rev": "60ea38d2c450537eb2adadff9527c8d0db6f9fea",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -46,6 +46,11 @@
programs.gamemode.enable = true; programs.gamemode.enable = true;
programs.coolercontrol = {
enable = true;
nvidiaSupport = true;
};
hardware.keyboard.qmk.enable = true; hardware.keyboard.qmk.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
via via

15
modules/system/audio.nix Normal file
View file

@ -0,0 +1,15 @@
{ ... }:
{
hardware.pulseaudio.enable = false;
# rtkit is optional but recommended
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
# If you want to use JACK applications, uncomment this
#jack.enable = true;
};
}

View file

@ -3,6 +3,7 @@
imports = [ imports = [
./core.nix ./core.nix
./boot.nix ./boot.nix
./audio.nix
./locale.nix ./locale.nix
./packages.nix ./packages.nix
./printing.nix ./printing.nix

View file

@ -8,4 +8,6 @@
enable = true; enable = true;
enableSSHSupport = true; enableSSHSupport = true;
}; };
services.flatpak.enable = true;
} }