Update a lot of options, simplify variables, replace options with tags
This commit is contained in:
parent
dbc0ab6dd3
commit
7667ef9a1b
147 changed files with 663 additions and 928 deletions
|
@ -1,6 +1,6 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
config = lib.mkIf config.system.desktop.enable {
|
||||
config = lib.mkIf (builtins.elem "pc" config.system.nixos.tags) {
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
@ -8,9 +8,7 @@
|
|||
Policy.AutoEnable = "true";
|
||||
};
|
||||
};
|
||||
environment = {
|
||||
systemPackages = with pkgs; [ bluetui ];
|
||||
persistence."/persist".directories = [ "/var/lib/bluetooth" ];
|
||||
};
|
||||
|
||||
environment.persistence."/persist".directories = [ "/var/lib/bluetooth" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue