add: more system modules

This commit is contained in:
ooks-io 2024-01-17 23:03:48 +13:00
parent 793cc3131c
commit a545953c2d
5 changed files with 13 additions and 84 deletions

View file

@ -1,17 +1,28 @@
{ lib, config, ... }:
{ inputs, outputs, lib, config, pkgs, ... }:
let
cfg = config.systemProfile.base;
in
{
imports = [
../modules
inputs.home-manager.nixosModules.home-manager
];
config = lib.mkIf cfg.enable {
environment.systemPackages = [pkgs.git];
environment.enableAllTerminfo = true;
systemModules = {
security.enable = true;
nixOptions.enable = true;
pipewire.enable = true;
networking.enable = true;
locale.enable = true;
}
};
home-manager.extraSpecialArgs = { inherit inputs outputs; };
hardware.enableAllFirmware = true;
};
}