wip: dnsc-machine setup

This commit is contained in:
Dennis Schoepf 2025-11-22 15:13:25 +01:00
parent 38a0a94072
commit 33d5b06ec1
2 changed files with 28 additions and 2 deletions

View file

@ -27,8 +27,8 @@
reversal-icon-theme reversal-icon-theme
fnm fnm
libnotify libnotify
bluez
bluetui bluetui
iwgtk
]; ];
imports = [ imports = [
@ -74,4 +74,14 @@
size = 24; size = 24;
}; };
}; };
# Systemd Services
systemd.user.services = {
mpris-proxy = {
description = "Mpris proxy";
after = [ "network.target" "sound.target" ];
wantedBy = [ "default.target" ];
serviceConfig.ExecStart = "${pkgs.bluez}/bin/mpris-proxy";
};
};
} }

View file

@ -50,8 +50,24 @@
videoDrivers = [ "nvidia" ]; videoDrivers = [ "nvidia" ];
}; };
# Nvidia # Hardware Setup
hardware = { hardware = {
pulseaudio = {
enable = true;
package = pkgs.pulseaudioFull;
extraConfig = ''
load-module module-switch-on-connect
'';
};
bluetooth = {
enable = true;
settings = {
General = {
Enable = "Source,Sink,Media,Socket";
Experimental = true;
};
};
};
graphics.enable = true; graphics.enable = true;
nvidia = { nvidia = {
modesetting.enable = true; modesetting.enable = true;