tidying up
This commit is contained in:
@@ -1,25 +1,25 @@
|
||||
{
|
||||
inputs = {
|
||||
# Essential
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
|
||||
import-tree.url = "github:vic/import-tree";
|
||||
|
||||
dms = {
|
||||
url = "github:AvengeMedia/DankMaterialShell/stable";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
flake-parts = {
|
||||
url = "github:hercules-ci/flake-parts";
|
||||
inputs.nixpkgs-lib.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
import-tree.url = "github:vic/import-tree";
|
||||
|
||||
# Third-party
|
||||
zen-browser = {
|
||||
url = "github:youwen5/zen-browser-flake";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs@{ flake-parts, nixpkgs, ... }:
|
||||
flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
systems = [ "x86_64-linux" "aarch64-linux" ];
|
||||
imports = [
|
||||
./modules/nixos.nix
|
||||
./modules/desktop-ui.nix
|
||||
];
|
||||
} // {
|
||||
# re-export inputs for modules to access
|
||||
inherit inputs;
|
||||
};
|
||||
outputs =
|
||||
inputs:
|
||||
inputs.flake-parts.lib.mkFlake { inherit inputs; }
|
||||
# Imports all of the top-level modules (the files under `./modules`)
|
||||
(inputs.import-tree ./modules);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user