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