feat: add multiple configurations ✨
This commit is contained in:
parent
b41cd95419
commit
68502efec2
2 changed files with 15 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue