wip: flake parts setup

This commit is contained in:
2026-03-08 18:21:37 +00:00
commit eec532daed
6 changed files with 457 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
{
inputs = {
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";
};
};
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;
};
}