feat: add more nixos settings as modules

This commit is contained in:
Swarsel 2024-07-25 18:11:44 +02:00
parent 41e2f54618
commit 2db79465da
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
15 changed files with 493 additions and 418 deletions

View file

@ -30,5 +30,4 @@ in
default = { };
};
}

View file

@ -1,3 +1,4 @@
{
wallpaper = import ./wallpaper.nix;
hardware = import ./hardware.nix;
}

View file

@ -0,0 +1,11 @@
{ lib, ... }:
{
options.swarselsystems.hasBluetooth = lib.mkEnableOption "bluetooth availability";
options.swarselsystems.hasFingerprint = lib.mkEnableOption "fingerprint sensor availability";
options.swarselsystems.trackpoint.isAvailable = lib.mkEnableOption "trackpoint availability";
options.swarselsystems.trackpoint.device = lib.mkOption {
type = lib.types.str;
default = "";
};
}