flake-parts #1

Merged
lucy merged 41 commits from flake-parts into main 2026-10-19 22:40:55 +00:00
2 changed files with 22 additions and 10 deletions
Showing only changes of commit 88a9ce1442 - Show all commits

add core mod

lucy 2026-10-18 13:27:39 +02:00

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 = {