mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
feat: add nixos module
This commit is contained in:
parent
17ad744932
commit
21056746bf
4 changed files with 136 additions and 1 deletions
10
flake.nix
10
flake.nix
|
|
@ -6,10 +6,15 @@
|
|||
url = "github:numtide/treefmt-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
mmsg = {
|
||||
url = "github:DreamMaoMao/mmsg";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs =
|
||||
{
|
||||
self,
|
||||
flake-parts,
|
||||
treefmt-nix,
|
||||
...
|
||||
|
|
@ -19,7 +24,10 @@
|
|||
inputs.flake-parts.flakeModules.easyOverlay
|
||||
];
|
||||
|
||||
flake.hmModules.maomaowm = import ./nix/hm-modules.nix;
|
||||
flake = {
|
||||
hmModules.maomaowm = import ./nix/hm-modules.nix;
|
||||
nixosModules.maomaowm = import ./nix/nixos-modules.nix { inherit inputs self; };
|
||||
};
|
||||
|
||||
perSystem =
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue