splitting things up

This commit is contained in:
ari committed 2024-05-15 19:04:54 -04:00
1 parent c1da8040e2
commit 51e0a66c44
2 files changed
+3 -7

No files matched your search

+3 -6
View File
@@ -1,7 +1,6 @@
{ user
, hostName
, firewall
, enableCore ? true
, enableFonts ? true
, enableNetowrking ? true
, enableSSH ? true
@@ -11,11 +10,9 @@
}:
{ pkgs, ... }:
{
imports = [ ] ++ (if enableCore then [
(import ./core.nix {
user = user;
})
] else [ ]) ++ (if enableFonts then [
imports = [
./core.nix
] ++ (if enableFonts then [
./fonts.nix
] else [ ]) ++ (if hardware.enable then [
./hardware.nix