Add a function for creating system configurations
This commit is contained in:
parent
f491c8fc80
commit
813b45ad7d
1 changed files with 12 additions and 0 deletions
12
lib/system.nix
Normal file
12
lib/system.nix
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
name :
|
||||||
|
{ dualBoot ? false } :
|
||||||
|
nixpkgs.lib.nixosSystem {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
modules = [
|
||||||
|
{ config, pkgs, ... }: {
|
||||||
|
imports = [
|
||||||
|
../hardware-configuration.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue