mirror of
https://github.com/EdenQwQ/nixos.git
synced 2025-12-26 18:34:56 +08:00
treewide: use a more proper structure
This commit is contained in:
parent
7f7f5df90d
commit
54c0263efe
2 changed files with 5 additions and 4 deletions
|
|
@ -14,9 +14,14 @@
|
|||
inputs.treefmt-nix.flakeModule
|
||||
{ _module.args = { inherit inputs self nixpkgs; }; }
|
||||
];
|
||||
flake = {
|
||||
homeManagerModules = import ./modules/home-manager;
|
||||
overlays = import ./overlays { inherit inputs self; };
|
||||
};
|
||||
perSystem =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
packages = import ./pkgs { inherit pkgs; };
|
||||
treefmt = {
|
||||
projectRootFile = "flake.nix";
|
||||
programs.nixfmt.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue