add flake outputs
This commit is contained in:
parent
d664253d15
commit
1105425785
1 changed files with 12 additions and 0 deletions
12
flake.nix
12
flake.nix
|
|
@ -93,6 +93,18 @@
|
|||
};
|
||||
lib = import ./lib { inherit (nixpkgs) lib; };
|
||||
formatter = forAllSystems (system: (makePkgs system).nixfmt-tree);
|
||||
|
||||
# Export your module system for use in other flakes
|
||||
nixosModules = {
|
||||
default = ./modules/nixos;
|
||||
osbm = ./modules/nixos; # Alias with your name
|
||||
};
|
||||
|
||||
# If you also want to export home-manager modules
|
||||
homeManagerModules = {
|
||||
default = ./modules/home-manager;
|
||||
osbm = ./modules/home-manager;
|
||||
};
|
||||
# deploy.nodes.harmonica = {
|
||||
# hostname = "192.168.0.11";
|
||||
# profiles.system = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue