Created options; Moved tailscale to network folder; Disabled networkmanager wait online; Added repl command; updated firefox interface; other smaller stuff

This commit is contained in:
Jurn Wubben 2025-03-09 15:23:13 +01:00
parent 8d59cbf644
commit c087c07d02
37 changed files with 542 additions and 255 deletions

View file

@ -1,20 +1,16 @@
# {
# lib,
# config,
# ...
# }: {
# options.niksos.bluetooth = lib.mkEnableOption;
#
# config = lib.mkIf config.niksos.bluetooth {
# hardware.bluetooth = {
# enable = true;
# input.General.ClassicBondedOnly = false;
# };
# };
# }
{
hardware.bluetooth = {
enable = true;
input.General.ClassicBondedOnly = false;
lib,
config,
pkgs,
...
}: {
options.niksos.bluetooth = lib.mkEnableOption "bluetooth related stuff.";
config = lib.mkIf config.niksos.bluetooth {
hardware.bluetooth = {
enable = true;
input.General.ClassicBondedOnly = false;
};
environment.systemPackages = [pkgs.bluetui];
};
}

View file

@ -1,3 +1,8 @@
{
services.fprintd.enable = true;
config,
lib,
...
}: {
options.niksos.fingerprint = lib.mkEnableOption "fingerprint support.";
config.services.fprintd.enable = config.niksos.fingerprint;
}

View file

@ -1,3 +1,3 @@
{
services.fwupd.enable = true;
{lib, ...}: {
services.fwupd.enable = lib.mkDefault true;
}