chore(nixos): rename nix configuration directory to nix-config
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
|
||||
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-26.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||
|
||||
import-tree.url = "github:vic/import-tree";
|
||||
|
||||
wrapper-modules.url = "github:BirdeeHub/nix-wrapper-modules";
|
||||
};
|
||||
|
||||
outputs = inputs@{ flake-parts, import-tree, home-manager, ... }:
|
||||
let
|
||||
flakeParts = flake-parts.lib.mkFlake;
|
||||
|
||||
flakeModuleArguments = {
|
||||
inherit inputs;
|
||||
};
|
||||
|
||||
mkFlakeWithModuleArguments =
|
||||
flakeParts flakeModuleArguments;
|
||||
|
||||
flakeModule = {
|
||||
imports = [
|
||||
home-manager.flakeModules.home-manager
|
||||
(import-tree ./modules)
|
||||
];
|
||||
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
];
|
||||
};
|
||||
in
|
||||
mkFlakeWithModuleArguments flakeModule;
|
||||
}
|
||||
Reference in New Issue
Block a user