feat: add multiple configurations

This commit is contained in:
DannyDannyDanny 2025-07-16 13:59:18 +00:00
parent b41cd95419
commit 68502efec2
2 changed files with 15 additions and 3 deletions

View file

@ -38,8 +38,10 @@ gh auth login
gh repo clone dannydannydanny/dotfiles gh repo clone dannydannydanny/dotfiles
# checkout the appropriate branch # checkout the appropriate branch
git checkout feat/wsl-neovim-update git checkout feat/wsl-neovim-update
# rebuild system with # rebuild WSL nixos using
sudo nixos-rebuild switch --flake ~/dotfiles/nixos/ sudo nixos-rebuild switch --flake ~/dotfiles/nixos#wsl
# rebuild macbook nixos using
# sudo nixos-rebuild switch --flake ~/dotfiles/nixos#macbook
``` ```
### Clone repo SSH method ### Clone repo SSH method

View file

@ -17,7 +17,17 @@
... ...
}: { }: {
nixosConfigurations = { nixosConfigurations = {
nixos = nixpkgs.lib.nixosSystem {
wsl = nixpkgs.lib.nixosSystem {
modules = [
nixos-wsl.nixosModules.default
vscode-server.nixosModules.default
./configuration.nix
# home-manager.nixosModules.default
];
};
macbookair = nixpkgs.lib.nixosSystem {
modules = [ modules = [
nixos-wsl.nixosModules.default nixos-wsl.nixosModules.default
vscode-server.nixosModules.default vscode-server.nixosModules.default