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 {
# modules that comprise the host specific configuration
@ -27,6 +27,7 @@ in
};
# module set that comprises the hades configuration
flake.nixosModules.hades =
{
pkgs,
@ -34,7 +35,9 @@ in
config,
...
}:
{
imports = with self.nixosModules; [
# core system modules

View file

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

View file

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