WIP introduce nixos module system for configuration

This commit is contained in:
Daniel Barlow
2022-09-25 11:10:22 +01:00
parent 0f999f9ae4
commit 887a4ff966
6 changed files with 59 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
{ config, pkgs, ... } :
{
imports = [ ./defs.nix ./module.nix ];
config = {
services.a.enable = true;
services.b.enable = true;
systemPackages = [ pkgs.hello ] ;
};
}