adjusting import path
This commit is contained in:
parent
079b220eeb
commit
540c2ca2c5
3 changed files with 9 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{ inputs, ... }: {
|
||||
|
||||
# module declaration
|
||||
flake.nixosModules.packages = { pkgs, ... }: {
|
||||
flake.nixosModules.core-packages = { pkgs, ... }: {
|
||||
|
||||
# environment variables
|
||||
environment.variables = {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue