hardware/audio: switch to using module

This commit is contained in:
Infinidoge 2021-11-20 13:59:36 -05:00
parent b645cca259
commit fb6e71dadc
4 changed files with 19 additions and 8 deletions

View file

@ -11,7 +11,6 @@
networking.wireless
(with hardware; [
sound
gpu.nvidia
wireless
])
@ -29,12 +28,18 @@
system.stateVersion = "21.05";
modules = {
hardware = {
audio.enable = true;
};
};
networking.interfaces = {
eth0.useDHCP = true;
wlp41s0.useDHCP = true;
};
home-manager.users.infinidoge = { profiles, ... }: {
home = { profiles, ... }: {
imports = with profiles; [ stretchly ];
};

View file

@ -8,7 +8,6 @@
networking.wireless
(with hardware; [
sound
laptop
gpu.intel
wireless
@ -46,6 +45,12 @@
];
};
modules = {
hardware = {
audio.enable = true;
};
};
networking.interfaces.wlp170s0.useDHCP = true;
hardware.video.hidpi.enable = false;

View file

@ -9,7 +9,6 @@
networking.wireless
(with hardware; [
sound
gpu.amdgpu
laptop
wireless
@ -26,6 +25,12 @@
powerManagement.resumeCommands = "${pkgs.kmod}/bin/rmod atkbd; ${pkgs.kmod}/bin/modprobe atkbd reset=1";
modules = {
hardware = {
audio.enable = true;
};
};
networking.interfaces.wlan0.useDHCP = true;

View file

@ -1,4 +0,0 @@
{ ... }: {
sound.enable = true;
hardware.pulseaudio.enable = true;
}