Add a function for creating system configurations

This commit is contained in:
Manuel Thalmann 2023-12-01 12:29:28 +01:00
parent f491c8fc80
commit 813b45ad7d

12
lib/system.nix Normal file
View file

@ -0,0 +1,12 @@
name :
{ dualBoot ? false } :
nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
{ config, pkgs, ... }: {
imports = [
../hardware-configuration.nix
];
}
];
}