adjusting import path

This commit is contained in:
serenity-F 2026-09-17 16:54:47 +10:00
parent 079b220eeb
commit 540c2ca2c5
No known key found for this signature in database
3 changed files with 9 additions and 6 deletions

View file

@ -14,7 +14,7 @@ in
{ {
# defines the hades specific config modules # defines the hades specific configuration (glue code?)
flake.nixosConfigurations.hades = inputs.nixpkgs.lib.nixosSystem { flake.nixosConfigurations.hades = inputs.nixpkgs.lib.nixosSystem {
# modules that comprise the host specific configuration # modules that comprise the host specific configuration
@ -27,6 +27,7 @@ in
}; };
# module set that comprises the hades configuration
flake.nixosModules.hades = flake.nixosModules.hades =
{ {
pkgs, pkgs,
@ -34,7 +35,9 @@ in
config, config,
... ...
}: }:
{ {
imports = with self.nixosModules; [ imports = with self.nixosModules; [
# core system modules # core system modules

View file

@ -1,7 +1,7 @@
{ inputs, ... }: { { inputs, ... }: {
# module declaration # module declaration
flake.nixosModules.packages = { pkgs, ... }: { flake.nixosModules.core-packages = { pkgs, ... }: {
# environment variables # environment variables
environment.variables = { environment.variables = {

View file

@ -2,12 +2,12 @@
{ {
flake.modules.nixos.core = { pkgs, ... }: { flake.nixosModules.core = { pkgs, ... }: {
# other modules to load # other modules to load
imports = [ imports = with self.nixosModules; [
self.nixosModules.audio audio
self.nixosModules.packages core-packages
]; ];
# extra features # extra features