modified: flake.nix

new file:   home/git.nix
	new file:   home/nvchad.nix
	new file:   home/zsh.nix
	new file:   hosts/server/default.nix
	new file:   lib/mkHost.nix
	new file:   modules/wsl/wsl.nix
	new file:   profiles/server.nix
This commit is contained in:
luochen570
2026-02-27 12:03:01 +08:00
parent 51a1d0d178
commit 611d7c1c1f
8 changed files with 174 additions and 11 deletions

11
lib/mkHost.nix Normal file
View File

@@ -0,0 +1,11 @@
{ nixpkgs, home-manager, system }:
name: modules:
nixpkgs.lib.nixosSystem {
inherit system;
modules =
modules ++ [
home-manager.nixosModules.home-manager
];
}