Add VPS host
This commit is contained in:
parent
bb686b0fc0
commit
95d4a32acb
8 changed files with 220 additions and 2 deletions
15
flake.nix
15
flake.nix
|
|
@ -44,6 +44,15 @@
|
|||
];
|
||||
};
|
||||
|
||||
nixosConfigurations."vps" = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
disko.nixosModules.disko
|
||||
./hosts/nixos/vps/system.nix
|
||||
./hosts/nixos/vps/disk-config.nix
|
||||
];
|
||||
};
|
||||
|
||||
homeConfigurations = {
|
||||
"yanlin@imac" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.aarch64-darwin;
|
||||
|
|
@ -62,6 +71,12 @@
|
|||
modules = [ ./hosts/nixos/hs/home.nix ];
|
||||
extraSpecialArgs = { inherit claude-code nixvim; };
|
||||
};
|
||||
|
||||
"yanlin@vps" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
modules = [ ./hosts/nixos/vps/home.nix ];
|
||||
extraSpecialArgs = { inherit claude-code nixvim; };
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue