add core mod
This commit is contained in:
parent
17c76064b6
commit
88a9ce1442
2 changed files with 22 additions and 10 deletions
|
|
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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 = {
|
||||||
Loading…
Reference in a new issue