~ruther/nixos-config

ref: 6904cf1761334d033556f106c82d79b48e6657f4 nixos-config/nixos/modules/default.nix -rw-r--r-- 386 bytes
6904cf17 — Frantisek Bohacek refactor: modularize the configuration 1 year, 1 day ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ config, lib, ... }:

{
  imports = [
    ./profiles
    ./nixos-config.nix
  ];

  config = lib.mkMerge [
    (lib.mkIf config.nixos-config.useBluetooth {
      hardware.bluetooth = {
        enable = true;
        settings = {
          General = {
            Enable = "Source,Sink,Media,Socket";
          };
        };
      };
      services.blueman.enable = true;
    })
  ];
}
Do not follow this link