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
mods = with self.nixosModules; [
user
packages
agenix
boot
core
/etc/nixos/hardware-configuration.nix
];
in
{ {
flake.nixosConfigurations.nerv = inputs.nixpkgs.lib.nixosSystem { flake.nixosConfigurations.nerv = inputs.nixpkgs.lib.nixosSystem {
modules = with self.nixosModules; [ modules =
user with self.nixosModules;
packages [
agenix {
boot config.dualBoot = true;
/etc/nixos/hardware-configuration.nix }
]; ]
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 = {