Skip to content

Commit

Permalink
chore: set module class (#465)
Browse files Browse the repository at this point in the history
this *should* help prevent errors from utilising the wrong class for the
diffrent system types. e.g. darwin trying to use nixos modules
  • Loading branch information
isabelroses authored Feb 17, 2025
1 parent b7a9a2d commit 24dac16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/home-manager/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{ lib, ... }:

{
_class = "homeManager";

imports = [
(lib.modules.importApply ../global.nix { catppuccinModules = import ./all-modules.nix; })
];
Expand Down
2 changes: 2 additions & 0 deletions modules/nixos/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{ lib, ... }:

{
_class = "nixos";

imports = [
(lib.modules.importApply ../global.nix { catppuccinModules = import ./all-modules.nix; })
];
Expand Down

0 comments on commit 24dac16

Please sign in to comment.