feat: add laptop role

This commit is contained in:
uku 2024-08-17 19:17:41 +02:00
parent 630c953f2f
commit 07364c9814
Signed by: uku
SSH key fingerprint: SHA256:4P0aN6M8ajKukNi6aPOaX0LacanGYtlfjmN+m/sHY/o
3 changed files with 27 additions and 27 deletions

24
configs/laptop.nix Normal file
View file

@ -0,0 +1,24 @@
{
lib,
pkgs,
config,
...
}: {
imports = [./desktop.nix];
hardware.bluetooth.enable = true;
services = {
libinput.enable = true;
power-profiles-daemon.enable = true;
};
programs.light.enable = true;
# hyprland stuff
services.blueman = lib.mkIf config.programs.hyprland.enable {enable = true;};
hm.wayland.windowManager.hyprland.settings.exec-once = with pkgs; [
"${lib.getExe networkmanagerapplet}"
"${lib.getExe' blueman "blueman-applet"}"
];
}