add: more system modules
This commit is contained in:
parent
793cc3131c
commit
a545953c2d
5 changed files with 13 additions and 84 deletions
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue