more changes

This commit is contained in:
Noah Masur
2025-03-04 07:50:47 -05:00
parent eed097f270
commit 05e3996eb3
13 changed files with 60 additions and 28 deletions

View File

@ -16,13 +16,13 @@
config = {
# Allow specified unfree packages (identified elsewhere)
# Retrieves package object based on string name
nixpkgs.config.allowUnfreePredicate =
pkg: builtins.elem (lib.getName pkg) config.allowUnfreePackages;
# Allow specified insecure packages (identified elsewhere)
nixpkgs.config.permittedInsecurePackages = config.allowInsecurePackages;
# # Allow specified unfree packages (identified elsewhere)
# # Retrieves package object based on string name
# nixpkgs.config.allowUnfreePredicate =
# pkg: builtins.elem (lib.getName pkg) config.allowUnfreePackages;
#
# # Allow specified insecure packages (identified elsewhere)
# nixpkgs.config.permittedInsecurePackages = config.allowInsecurePackages;
};

View File

@ -17,6 +17,7 @@ in
config = lib.mkIf cfg.enable {
nmasur.presets.services = {
grub.enable = lib.mkDefault true;
# Configure physical power buttons
logind.enable = lib.mkDefault true;
};