add core mod

This commit is contained in:
lucy 2026-10-18 13:27:39 +02:00
commit 88a9ce1442
2 changed files with 22 additions and 10 deletions

View file

@ -1,18 +1,30 @@
{ {
self, self,
inputs, inputs,
config,
... ...
}: }:
{ let
flake.nixosConfigurations.nerv = inputs.nixpkgs.lib.nixosSystem { mods = with self.nixosModules; [
modules = with self.nixosModules; [
user user
packages packages
agenix agenix
boot boot
core
/etc/nixos/hardware-configuration.nix /etc/nixos/hardware-configuration.nix
]; ];
in
{
flake.nixosConfigurations.nerv = inputs.nixpkgs.lib.nixosSystem {
modules =
with self.nixosModules;
[
{
config.dualBoot = true; config.dualBoot = true;
}
]
++ mods;
};
flake.nixosConfigurations.seele = inputs.nixpkgs.lib.nixosSystem {
modules = mods;
}; };
} }

View file

@ -1,5 +1,5 @@
{ ... }: { { ... }: {
flake.nixosModules.base = { flake.nixosModules.core = {
time.timeZone = "Europe/Berlin"; time.timeZone = "Europe/Berlin";
i18n.defaultLocale = "en_US.UTF-8"; i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = { i18n.extraLocaleSettings = {