Files
nixos-config/machines/configuration-laptop.nix
2024-05-10 14:52:56 +02:00

31 lines
710 B
Nix

{ config, lib, pkgs, ... }:
{
# Import general Configs
imports = [ ./../hardware-configuration-laptop.nix ./../configuration.nix ];
# Hostname
networking.hostName = "eliasLaptop";
hardware.pulseaudio.enable = true;
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
settings.General = {
Enable = "Source,Sink,Media,Socket";
Experimental = true;
};
};
environment.systemPackages = with pkgs; [
bluez
bluez-alsa
bluez-tools
gnome.networkmanager-vpnc
networkmanagerapplet
];
hardware.pulseaudio.extraConfig = ''
load-module module-bluetooth-policy
load-module module-bluetooth-discover
'';
services.blueman.enable = true;
}