mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Desktop] Bluetooth, backlight and tablet drivers
Also improve console and disable default fonts in minimal mode
This commit is contained in:
parent
e0548cbf89
commit
e08ddea9e5
1 changed files with 12 additions and 0 deletions
12
desktop.nix
12
desktop.nix
|
|
@ -88,6 +88,18 @@ in {
|
|||
};
|
||||
boot.initrd.verbose = generalCfg.debug;
|
||||
boot.consoleLogLevel = mkIf (!generalCfg.debug) 1;
|
||||
|
||||
console.earlySetup = true; # Prettier console
|
||||
fonts.enableDefaultFonts = mkIf (!generalCfg.minimal) true;
|
||||
|
||||
hardware.acpilight.enable = mkIf (!generalCfg.minimal) true;
|
||||
hardware.opentabletdriver.enable = mkIf (!generalCfg.minimal) true;
|
||||
|
||||
hardware.bluetooth = mkIf (!generalCfg.minimal) {
|
||||
enable = true;
|
||||
package = pkgs.bluezFull;
|
||||
};
|
||||
|
||||
|
||||
# Enable sound.
|
||||
sound.enable = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue