forked from clan/clan-core
import nixosModules explicitly
we need to also import sops-nix for sops
This commit is contained in:
parent
48a5f64be6
commit
ed1d28f20b
@ -30,10 +30,10 @@
|
||||
./pkgs/flake-module.nix
|
||||
|
||||
./lib/flake-module.nix
|
||||
./nixosModules/flake-module.nix
|
||||
({ self, lib, ... }: {
|
||||
flake.flakeModules = lib.mapAttrs (_: nix: { imports = [ nix ]; }) (self.lib.findNixFiles ./flakeModules);
|
||||
flake.clanModules = lib.mapAttrs (_: nix: { imports = [ nix ]; }) (self.lib.findNixFiles ./clanModules);
|
||||
flake.nixosModules = lib.mapAttrs (_: nix: { imports = [ nix ]; }) (self.lib.findNixFiles ./nixosModules);
|
||||
})
|
||||
];
|
||||
});
|
||||
|
6
nixosModules/flake-module.nix
Normal file
6
nixosModules/flake-module.nix
Normal file
@ -0,0 +1,6 @@
|
||||
{ ... }: {
|
||||
flake.nixosModules = {
|
||||
hidden-ssh-announce.imports = [ ./hidden-ssh-announce.nix ];
|
||||
installer.imports = [ ./installer.nix ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user