This commit is contained in:
mjallen18
2025-08-26 19:47:36 -05:00
parent 3fda24b5ac
commit 68f6ced410
5 changed files with 20 additions and 37 deletions

View File

@@ -5,7 +5,7 @@
... ...
}: }:
let let
isArm = ("aarch64-linux" == system); isArm = ("aarch64-linux" == system) || ("aarch64-darwin" == system);
in in
{ {
boot = { boot = {

View File

@@ -1,6 +1,6 @@
{ ... }: { lib, ... }:
{ {
boot.plymouth = { boot.plymouth = {
enable = true; enable = lib.mkDefault true;
}; };
} }

View File

@@ -7,8 +7,9 @@
noto-fonts noto-fonts
noto-fonts-color-emoji noto-fonts-color-emoji
meslo-lgs-nf meslo-lgs-nf
] pkgs.nerd-fonts.jetbrains-mono
++ builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts); ];
# ++ builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts); # ALL fonts
fonts.fontconfig.defaultFonts = { fonts.fontconfig.defaultFonts = {
emoji = [ emoji = [

View File

@@ -1,27 +1,18 @@
{ lib, namespace, ... }: { lib, namespace, ... }:
with lib; with lib;
let
inherit (lib.${namespace}) mkOpt mkBoolOpt;
in
{ {
options.${namespace}.hardware.amd = { options.${namespace}.hardware.amd = {
enable = mkEnableOption "amd hardware config"; enable = mkEnableOption "amd hardware config";
corectrl.enable = mkOption { corectrl.enable = mkBoolOpt false "Enable Corectl";
type = types.bool;
default = false;
};
corectrl.enablePolkit = mkOption { corectrl.enablePolkit = mkBoolOpt false "Enable Corectl Polkit";
type = types.bool;
default = false;
};
corectrl.polkitGroup = mkOption { corectrl.polkitGroup = mkOpt types.str "wheel" "Corectl Polkit Group";
type = types.str;
default = "wheel";
};
lact.enable = mkOption { lact.enable = mkBoolOpt false "Enable Lact daemon";
type = types.bool;
default = false;
};
}; };
} }

View File

@@ -1,27 +1,18 @@
{ lib, namespace, ... }: { lib, namespace, ... }:
with lib; with lib;
let
inherit (lib.${namespace}) mkOpt mkBoolOpt;
in
{ {
options.${namespace}.hardware.nvidia = { options.${namespace}.hardware.nvidia = {
enable = mkEnableOption "nvidia hardware config"; enable = mkEnableOption "nvidia hardware config";
enableOpen = mkOption { enableOpen = mkBoolOpt false "Enable open source driver";
type = types.bool;
default = false;
};
nvidiaSettings = mkOption { nvidiaSettings = mkBoolOpt false "Install nvidia settings";
type = types.bool;
default = false;
};
enableBeta = mkOption { enableBeta = mkBoolOpt false "Enable Beta drivers";
type = types.bool;
default = false;
};
enableNvidiaDocker = mkOption { enableNvidiaDocker = mkBoolOpt false "Enable nvidia docker support";
type = types.bool;
default = false;
};
}; };
} }