impermanence/flake.nix
Matias Zwinger 21d60a0db9
Use plural attribute names and add default modules
(cherry picked from commit e8c3d195069584b27196a5f6c37cd166c65797a9)
2024-10-21 17:13:38 +02:00

13 lines
432 B
Nix

{
outputs = { self }: {
nixosModules.default = self.nixosModules.impermanence;
nixosModules.impermanence = import ./nixos.nix;
homeManagerModules.default = self.homeManagerModules.impermanence;
homeManagerModules.impermanence = import ./home-manager.nix;
# Deprecated
nixosModule = self.nixosModules.impermanence;
nixosModules.home-manager.impermanence = self.homeManagerModules.impermanence;
};
}