ma snake.r: add sound hardware config
This commit is contained in:
parent
c99460e5f7
commit
0899a30efd
@ -10,7 +10,7 @@ in {
|
||||
<stockholm/makefu/2configs/binary-cache/nixos.nix>
|
||||
|
||||
<stockholm/makefu/2configs/home/rhasspy>
|
||||
<stockholm/makefu/2configs/home/rhasspy/led-control.nix>
|
||||
# <stockholm/makefu/2configs/hw/pseyecam.nix>
|
||||
];
|
||||
krebs = {
|
||||
enable = true;
|
||||
|
@ -2,6 +2,8 @@
|
||||
{
|
||||
imports = [
|
||||
<nixpkgs/nixos/modules/installer/scan/not-detected.nix>
|
||||
./wifi.nix
|
||||
./sound.nix
|
||||
];
|
||||
boot.loader.grub.enable = true;
|
||||
boot.loader.grub.version = 2;
|
||||
@ -18,4 +20,5 @@
|
||||
|
||||
boot.kernelParams = [ "net.ifnames=0" ];
|
||||
networking.hostId = "0123AABB";
|
||||
|
||||
}
|
||||
|
51
makefu/1systems/snake/sound.nix
Normal file
51
makefu/1systems/snake/sound.nix
Normal file
@ -0,0 +1,51 @@
|
||||
{ lib, ... }: {
|
||||
imports = [
|
||||
<stockholm/makefu/2configs/gui/snake-kiosk.nix>
|
||||
];
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
networking.networkmanager.enable = lib.mkForce false;
|
||||
# sound.enable = true;
|
||||
#hardware.pulseaudio = {
|
||||
# enable = true;
|
||||
# systemWide = true;
|
||||
# tcp = {
|
||||
# enable = true;
|
||||
# anonymousClients.allowAll = true;
|
||||
# };
|
||||
#};
|
||||
|
||||
#users.users.makefu = {
|
||||
# extraGroups = [ "pipewire" "audio" ];
|
||||
#};
|
||||
|
||||
|
||||
#services.xserver = {
|
||||
# enable = true;
|
||||
# # desktopManager.xterm.enable = true;
|
||||
# desktopManager.xfce = {
|
||||
# enable = true;
|
||||
# noDesktop = true;
|
||||
# };
|
||||
|
||||
# displayManager.autoLogin = {
|
||||
# enable = true;
|
||||
# user = "makefu";
|
||||
# };
|
||||
#};
|
||||
hardware.pulseaudio.enable = lib.mkForce false;
|
||||
security.rtkit.enable = true;
|
||||
#services.pipewire = {
|
||||
# enable = true;
|
||||
# systemWide = true;
|
||||
# socketActivation = false;
|
||||
# alsa.enable = true;
|
||||
# alsa.support32Bit = true;
|
||||
# pulse.enable = true;
|
||||
# config.pipewire-pulse = {
|
||||
# "pulse.properties"."server.address" = [ "unix:native" "tcp:4713" ];
|
||||
# };
|
||||
|
||||
#};
|
||||
|
||||
|
||||
}
|
@ -3,5 +3,4 @@
|
||||
full = true;
|
||||
home-manager = true;
|
||||
hw = true;
|
||||
disko = true;
|
||||
}
|
||||
|
6
makefu/1systems/snake/wifi.nix
Normal file
6
makefu/1systems/snake/wifi.nix
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
networking.wireless = {
|
||||
enable = true;
|
||||
networks = import <secrets/wifi.nix>;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user