hardware/audio: switch to using module
This commit is contained in:
parent
b645cca259
commit
fb6e71dadc
4 changed files with 19 additions and 8 deletions
|
@ -11,7 +11,6 @@
|
||||||
networking.wireless
|
networking.wireless
|
||||||
|
|
||||||
(with hardware; [
|
(with hardware; [
|
||||||
sound
|
|
||||||
gpu.nvidia
|
gpu.nvidia
|
||||||
wireless
|
wireless
|
||||||
])
|
])
|
||||||
|
@ -29,12 +28,18 @@
|
||||||
|
|
||||||
system.stateVersion = "21.05";
|
system.stateVersion = "21.05";
|
||||||
|
|
||||||
|
modules = {
|
||||||
|
hardware = {
|
||||||
|
audio.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
networking.interfaces = {
|
networking.interfaces = {
|
||||||
eth0.useDHCP = true;
|
eth0.useDHCP = true;
|
||||||
wlp41s0.useDHCP = true;
|
wlp41s0.useDHCP = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users.infinidoge = { profiles, ... }: {
|
home = { profiles, ... }: {
|
||||||
imports = with profiles; [ stretchly ];
|
imports = with profiles; [ stretchly ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
networking.wireless
|
networking.wireless
|
||||||
|
|
||||||
(with hardware; [
|
(with hardware; [
|
||||||
sound
|
|
||||||
laptop
|
laptop
|
||||||
gpu.intel
|
gpu.intel
|
||||||
wireless
|
wireless
|
||||||
|
@ -46,6 +45,12 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
modules = {
|
||||||
|
hardware = {
|
||||||
|
audio.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
networking.interfaces.wlp170s0.useDHCP = true;
|
networking.interfaces.wlp170s0.useDHCP = true;
|
||||||
|
|
||||||
hardware.video.hidpi.enable = false;
|
hardware.video.hidpi.enable = false;
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
networking.wireless
|
networking.wireless
|
||||||
|
|
||||||
(with hardware; [
|
(with hardware; [
|
||||||
sound
|
|
||||||
gpu.amdgpu
|
gpu.amdgpu
|
||||||
laptop
|
laptop
|
||||||
wireless
|
wireless
|
||||||
|
@ -26,6 +25,12 @@
|
||||||
|
|
||||||
powerManagement.resumeCommands = "${pkgs.kmod}/bin/rmod atkbd; ${pkgs.kmod}/bin/modprobe atkbd reset=1";
|
powerManagement.resumeCommands = "${pkgs.kmod}/bin/rmod atkbd; ${pkgs.kmod}/bin/modprobe atkbd reset=1";
|
||||||
|
|
||||||
|
modules = {
|
||||||
|
hardware = {
|
||||||
|
audio.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
networking.interfaces.wlan0.useDHCP = true;
|
networking.interfaces.wlan0.useDHCP = true;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
{ ... }: {
|
|
||||||
sound.enable = true;
|
|
||||||
hardware.pulseaudio.enable = true;
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue