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
|
||||
# checkout the appropriate branch
|
||||
git checkout feat/wsl-neovim-update
|
||||
# rebuild system with
|
||||
sudo nixos-rebuild switch --flake ~/dotfiles/nixos/
|
||||
# rebuild WSL nixos using
|
||||
sudo nixos-rebuild switch --flake ~/dotfiles/nixos#wsl
|
||||
# rebuild macbook nixos using
|
||||
# sudo nixos-rebuild switch --flake ~/dotfiles/nixos#macbook
|
||||
```
|
||||
|
||||
### Clone repo SSH method
|
||||
|
|
|
|||
|
|
@ -17,7 +17,17 @@
|
|||
...
|
||||
}: {
|
||||
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 = [
|
||||
nixos-wsl.nixosModules.default
|
||||
vscode-server.nixosModules.default
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue