feat:add_nixvim

This commit is contained in:
dichgrem
2025-09-21 15:54:31 +08:00
parent c36f91562d
commit 8016a1173d
64 changed files with 3608 additions and 30 deletions

View File

@@ -13,14 +13,28 @@
nixvim.url = "github:nix-community/nixvim";
stylix.url = "github:danth/stylix";
};
outputs = inputs: let
hostname = "dos";
username = "dich";
in {
nixosConfigurations = {
"${hostname}" = inputs.nixpkgs.lib.nixosSystem {
modules = [./hosts];
specialArgs = {inherit hostname inputs username;};
specialArgs = { inherit hostname inputs username; };
modules = [
./hosts
inputs.home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.${username} = {
imports = [
./home
inputs.nixvim.homeModules.nixvim
];
};
}
];
};
};
};