add a minimal module for VMs
This commit is contained in:
parent
61f4e1713f
commit
537a90dffc
|
@ -0,0 +1,9 @@
|
|||
{ ... }:
|
||||
{
|
||||
# Inspired by
|
||||
# https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/profiles/minimal.nix
|
||||
environment.noXlibs = true;
|
||||
documentation.enable = false;
|
||||
documentation.nixos.enable = false;
|
||||
programs.command-not-found.enable = false;
|
||||
}
|
|
@ -2,6 +2,7 @@
|
|||
{
|
||||
imports = [
|
||||
(import "${self}/modules/mk-network" { inherit hostname ip; })
|
||||
(import "${self}/systems/minimal")
|
||||
];
|
||||
boot.initrd.availableKernelModules = [
|
||||
"ata_piix"
|
||||
|
|
Loading…
Reference in New Issue