bluetooth config & misc. commenting
This commit is contained in:
parent
fc385b450f
commit
c14b9dc781
2 changed files with 33 additions and 9 deletions
|
|
@ -49,8 +49,22 @@
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
|
|
||||||
## Enable bluetooth inside Hades
|
## Bluetooth settings for Hades
|
||||||
bluetooth.enable = true;
|
## Also see line 100 for blueman service,
|
||||||
|
## and home/desktop/waybar.nix for tray applet.
|
||||||
|
bluetooth = {
|
||||||
|
enable = true;
|
||||||
|
## Turns the bluetooth adapter on at boot
|
||||||
|
powerOnBoot = true;
|
||||||
|
settings.General = {
|
||||||
|
## Displays battery charge of connected devices
|
||||||
|
Experimental = true;
|
||||||
|
## Uses more power, but hades is a desktop
|
||||||
|
FastConnectable = true;
|
||||||
|
};
|
||||||
|
## To fix bluetooth keyboard input
|
||||||
|
input.General = { UserspaceHID = true; };
|
||||||
|
};
|
||||||
|
|
||||||
## GPU and graphics
|
## GPU and graphics
|
||||||
graphics = {
|
graphics = {
|
||||||
|
|
@ -81,7 +95,12 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services = { xserver.videoDrivers = [ "amdgpu" ]; };
|
services = {
|
||||||
|
## Enables bluetooth service
|
||||||
|
blueman.enable = true;
|
||||||
|
## Sets X to use amdgpy drivers
|
||||||
|
xserver.videoDrivers = [ "amdgpu" ];
|
||||||
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
## For tweaking system performance
|
## For tweaking system performance
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,15 @@
|
||||||
{ pkgs, config, lib, ... }: {
|
{ pkgs, config, ... }:
|
||||||
|
|
||||||
home = {
|
{
|
||||||
packages = with pkgs; [ waybar ];
|
|
||||||
};
|
home = { packages = with pkgs; [ waybar ]; };
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
blueman-applet.enable = false;
|
## Enables bluetooth tray applet
|
||||||
|
## See core/hosts/${hostname}/default.nix for bluetooth config
|
||||||
|
blueman-applet.enable = true;
|
||||||
|
## Enables networking tray applet
|
||||||
|
## See core/hosts/${hostname}/network.nix for network config
|
||||||
network-manager-applet.enable = true;
|
network-manager-applet.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -24,7 +28,7 @@
|
||||||
height = 44;
|
height = 44;
|
||||||
modules-left = [ "custom/logo" "sway/window" ];
|
modules-left = [ "custom/logo" "sway/window" ];
|
||||||
modules-center = [ "sway/workspaces" ];
|
modules-center = [ "sway/workspaces" ];
|
||||||
modules-right = [ "tray" "backlight" "pulseaudio" "battery" "clock" "custom/power" ];
|
modules-right = [ "tray" "backlight" "clock" "battery" "custom/power" ];
|
||||||
|
|
||||||
"wlr/taskbar" = {
|
"wlr/taskbar" = {
|
||||||
format = "{icon}";
|
format = "{icon}";
|
||||||
|
|
@ -58,6 +62,7 @@
|
||||||
"urgent" = "";
|
"urgent" = "";
|
||||||
};
|
};
|
||||||
"persistent-workspaces" = {
|
"persistent-workspaces" = {
|
||||||
|
"0" = [ ];
|
||||||
"1" = [ ];
|
"1" = [ ];
|
||||||
"2" = [ ];
|
"2" = [ ];
|
||||||
"3" = [ ];
|
"3" = [ ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue