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 {
|
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
|
||||||
|
|
|
||||||
|
|
@ -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 = {
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue