mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-12-10 03:49:44 +00:00
feat(home): add host y2q
This commit is contained in:
parent
da3d4c46d8
commit
eaa6a4fdec
3 changed files with 31 additions and 3 deletions
|
|
@ -63,6 +63,11 @@
|
|||
extraSpecialArgs = { inherit inputs rootPath; };
|
||||
modules = [ ./home/hosts/wsl.nix ];
|
||||
};
|
||||
"android@y2q" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
extraSpecialArgs = { inherit inputs rootPath; };
|
||||
modules = [ ./home/hosts/y2q.nix ];
|
||||
};
|
||||
};
|
||||
|
||||
devShells.${system}.default = pkgs.mkShell {
|
||||
|
|
@ -76,7 +81,7 @@
|
|||
HOST=$(hostname)
|
||||
alias deploy-nixos="sudo nixos-rebuild switch --flake .#$HOST"
|
||||
alias deploy-vps="nixos-rebuild switch --flake .#vps --target-host root@vps"
|
||||
alias deploy-home="home-manager switch --flake .#toast@$HOST"
|
||||
alias deploy-home="home-manager switch --flake .#$USER@$HOST"
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue