disable factorio server for now and make sure that the bluetooth headset stays on the right profile
This commit is contained in:
parent
2d6fecf8f6
commit
e19de9f507
|
@ -16,14 +16,17 @@ in
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [ factorio-headless-experimental ];
|
||||
environment.systemPackages = with pkgs; [ factorio-headless ];
|
||||
|
||||
services.factorio = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
public = true;
|
||||
lan = true;
|
||||
bind = "[::]";
|
||||
admins = [
|
||||
"DaHolli"
|
||||
"Galbrain"
|
||||
];
|
||||
nonBlockingSaving = true;
|
||||
autosave-interval = 5;
|
||||
loadLatestSave = true;
|
||||
|
@ -31,6 +34,8 @@ in
|
|||
token = "4d4624ca9a23396e1955c1b4b364ff";
|
||||
game-name = "Alles Nix!";
|
||||
game-password = "1234";
|
||||
saveName = "Vanilla";
|
||||
bind = "192.168.178.34";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -16,15 +16,18 @@ in
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [ ];
|
||||
environment.systemPackages = with pkgs; [ xdg-utils ];
|
||||
|
||||
services = {
|
||||
xserver = {
|
||||
enable = true;
|
||||
};
|
||||
displayManager.sddm = {
|
||||
enable = true;
|
||||
wayland.enable = true;
|
||||
displayManager = {
|
||||
defaultSession = "plasmax11";
|
||||
sddm = {
|
||||
enable = true;
|
||||
wayland.enable = true;
|
||||
};
|
||||
};
|
||||
desktopManager.plasma6 = enabled;
|
||||
};
|
||||
|
|
|
@ -24,7 +24,7 @@ in
|
|||
programs.noisetorch.enable = true;
|
||||
|
||||
sound.enable = true;
|
||||
hardware.pulseaudio.enable = false;
|
||||
hardware.pulseaudio = disabled;
|
||||
security.rtkit.enable = true;
|
||||
|
||||
services.pipewire = {
|
||||
|
@ -32,6 +32,13 @@ in
|
|||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
extraConfig = {
|
||||
"11-bluetooth-policy" = {
|
||||
"bluetooth_policy.policy" = {
|
||||
"media-role.use-headset-profile" = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ with lib.wyrdgard;
|
|||
discord = enabled;
|
||||
_1password = enabled;
|
||||
onedrive = enabled;
|
||||
factorio-server = enabled;
|
||||
factorio-server = disabled;
|
||||
};
|
||||
|
||||
system = {
|
||||
|
|
Loading…
Reference in a new issue