diff --git a/flake.lock b/flake.lock index ee4fda3..b2e68fa 100644 --- a/flake.lock +++ b/flake.lock @@ -455,11 +455,11 @@ "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1724710305, - "narHash": "sha256-qotbY/mgvykExLqRLAKN4yeufPfIjnMaK6hQQFhE2DE=", + "lastModified": 1724727283, + "narHash": "sha256-F7AUWC2p20zbQuymca1jB70OH/MQ0MYgkhUsY+7K0cg=", "owner": "nix-community", "repo": "nixvim", - "rev": "eac092c876e4c4861c6df0cff93e25b972b1842c", + "rev": "60ea38d2c450537eb2adadff9527c8d0db6f9fea", "type": "github" }, "original": { diff --git a/hosts/solaire/default.nix b/hosts/solaire/default.nix index b92579d..c83509c 100644 --- a/hosts/solaire/default.nix +++ b/hosts/solaire/default.nix @@ -46,6 +46,11 @@ programs.gamemode.enable = true; + programs.coolercontrol = { + enable = true; + nvidiaSupport = true; + }; + hardware.keyboard.qmk.enable = true; environment.systemPackages = with pkgs; [ via diff --git a/modules/system/audio.nix b/modules/system/audio.nix new file mode 100644 index 0000000..40b3cb3 --- /dev/null +++ b/modules/system/audio.nix @@ -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; + }; +} diff --git a/modules/system/default.nix b/modules/system/default.nix index be424dc..bcff6a5 100644 --- a/modules/system/default.nix +++ b/modules/system/default.nix @@ -3,6 +3,7 @@ imports = [ ./core.nix ./boot.nix + ./audio.nix ./locale.nix ./packages.nix ./printing.nix diff --git a/modules/system/misc.nix b/modules/system/misc.nix index a5239e5..f49e53c 100644 --- a/modules/system/misc.nix +++ b/modules/system/misc.nix @@ -8,4 +8,6 @@ enable = true; enableSSHSupport = true; }; + + services.flatpak.enable = true; }