Skip to content

Commit 24dac16

Browse files
authored
chore: set module class (#465)
this *should* help prevent errors from utilising the wrong class for the diffrent system types. e.g. darwin trying to use nixos modules
1 parent b7a9a2d commit 24dac16

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

modules/home-manager/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{ lib, ... }:
22

33
{
4+
_class = "homeManager";
5+
46
imports = [
57
(lib.modules.importApply ../global.nix { catppuccinModules = import ./all-modules.nix; })
68
];

modules/nixos/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{ lib, ... }:
22

33
{
4+
_class = "nixos";
5+
46
imports = [
57
(lib.modules.importApply ../global.nix { catppuccinModules = import ./all-modules.nix; })
68
];

0 commit comments

Comments
 (0)