Modified polybar
This commit is contained in:
17
system/modules/bluetooth.nix
Normal file
17
system/modules/bluetooth.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ config, lib, pkgs, self, ... }:
|
||||
|
||||
let
|
||||
cfg = config.samfelag.modules.bluetooth;
|
||||
in
|
||||
{
|
||||
options.samfelag.modules.bluetooth = {
|
||||
enable = lib.mkEnableOption "bluetooth";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
hardware.bluetooth.enable = true;
|
||||
services.blueman.enable = true;
|
||||
|
||||
};
|
||||
}
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
{
|
||||
imports = [
|
||||
./bluetooth.nix
|
||||
./tailscale.nix
|
||||
./user.nix
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user