0837303bb5
* Import attrs of profiles automatically with `defaultImport`. * Refactor profiles to ensure all are functions returning a module. * Add a suites.nix with collections of profiles. * Add suites as `specialArgs` to modules. * Add suite import to NixOS host.
11 lines
277 B
Nix
11 lines
277 B
Nix
{ suites, ... }:
|
|
{
|
|
imports = [ ../users/nixos ../users/root ] ++ suites.all;
|
|
|
|
security.mitigations.acceptRisk = true;
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
fileSystems."/" = { device = "/dev/disk/by-label/nixos"; };
|
|
}
|