mirror of
https://github.com/divnix/digga.git
synced 2024-12-20 14:41:43 +03:00
c67b846929
* 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.
13 lines
327 B
Nix
13 lines
327 B
Nix
{ suites, ... }:
|
|
{
|
|
### root password is empty by default ###
|
|
imports = [ ../users/nixos ../users/root ] ++ suites.graphics;
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
fileSystems."/" = { device = "/dev/disk/by-label/nixos"; };
|
|
}
|