sorta rewrote hades module ?

This commit is contained in:
serenity-F 2026-09-17 16:49:11 +10:00
parent fe45191deb
commit 9267e890c8
No known key found for this signature in database

View file

@ -17,21 +17,38 @@ in
# defines the hades specific config modules
flake.nixosConfigurations.hades = inputs.nixpkgs.lib.nixosSystem {
# modules that comprise the host specific module
# modules that comprise the host specific configuration
modules = [
# actual desktop module set defined below
hades
];
};
flake.nixosModules.hades =
{
pkgs,
inputs,
config,
...
}:
{
imports = with self.nixosModules; [
# core system modules
self.nixosModules.core
core
# hades system modules
self.nixosModules.hades
self.nixosModules.hades-hardware
hades-hardware
# extra modules
self.modules.nixos.gaming
gaming
# users to include on host
self.modules.nixos.serenity
serenity
# home manager and home manager imports
inputs.home-manager.nixosModules.home-manager
{