From 88a9ce14428489236270b2c681b5ea1482a4d0fa Mon Sep 17 00:00:00 2001 From: lucy Date: Sun, 18 Oct 2026 13:27:39 +0200 Subject: [PATCH] add core mod --- modules/default.nix | 30 ++++++++++++++------ modules/system/core/{system.nix => core.nix} | 2 +- 2 files changed, 22 insertions(+), 10 deletions(-) rename modules/system/core/{system.nix => core.nix} (95%) diff --git a/modules/default.nix b/modules/default.nix index fcab9a6..187e450 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -1,18 +1,30 @@ { self, inputs, - config, ... }: +let + mods = with self.nixosModules; [ + user + packages + agenix + boot + core + /etc/nixos/hardware-configuration.nix + ]; +in { flake.nixosConfigurations.nerv = inputs.nixpkgs.lib.nixosSystem { - modules = with self.nixosModules; [ - user - packages - agenix - boot - /etc/nixos/hardware-configuration.nix - ]; - config.dualBoot = true; + modules = + with self.nixosModules; + [ + { + config.dualBoot = true; + } + ] + ++ mods; + }; + flake.nixosConfigurations.seele = inputs.nixpkgs.lib.nixosSystem { + modules = mods; }; } diff --git a/modules/system/core/system.nix b/modules/system/core/core.nix similarity index 95% rename from modules/system/core/system.nix rename to modules/system/core/core.nix index 61a7993..fd74c7f 100644 --- a/modules/system/core/system.nix +++ b/modules/system/core/core.nix @@ -1,5 +1,5 @@ { ... }: { - flake.nixosModules.base = { + flake.nixosModules.core = { time.timeZone = "Europe/Berlin"; i18n.defaultLocale = "en_US.UTF-8"; i18n.extraLocaleSettings = {