Add all of iogamaster modules

This commit is contained in:
2024-06-15 09:59:52 +02:00
parent c97f22254a
commit fa99b32cad
120 changed files with 3587 additions and 254 deletions

View File

@@ -0,0 +1,65 @@
{
options,
config,
lib,
pkgs,
...
}:
with lib;
with lib.frajul;
let
cfg = config.suites.common;
in
{
options.suites.common = with types; {
enable = mkBoolOpt false "Enable the common suite";
};
config = mkIf cfg.enable {
system.nix.enable = true;
system.security.doas.enable = true;
hardware.audio.enable = true;
hardware.networking.enable = true;
apps.misc.enable = true;
hardware.bluetooth.enable = true;
hardware.bluetooth.settings = {
General = {
FastConnectable = true;
JustWorksRepairing = "always";
Privacy = "device";
};
Policy = {
AutoEnable = true;
};
inputs = {
UserSpaceHID = true;
};
};
environment.persist.directories = [ "/etc/bluetooth" ];
apps.pass.enable = true;
apps.tools.git.enable = true;
apps.tools.nix-ld.enable = true;
services.ssh.enable = true;
programs.dconf.enable = true;
environment.systemPackages = [
pkgs.bluetuith
pkgs.nh # pkgs.custom.sys
pkgs.deploy-rs
];
system = {
fonts.enable = true;
locale.enable = true;
time.enable = true;
xkb.enable = true;
};
};
}