mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 15:04:59 +08:00
a
This commit is contained in:
parent
53f63064e8
commit
23fc0ec9a2
1 changed files with 2 additions and 1 deletions
1
justfile
1
justfile
|
|
@ -7,6 +7,7 @@ default:
|
||||||
# Activate the given host or home environment
|
# Activate the given host or home environment
|
||||||
[group('main')]
|
[group('main')]
|
||||||
activate host="":
|
activate host="":
|
||||||
|
nix flake lock
|
||||||
@if [ -z "{{host}}" ]; then \
|
@if [ -z "{{host}}" ]; then \
|
||||||
if [ -f ./configurations/home/$USER@$HOSTNAME.nix ]; then \
|
if [ -f ./configurations/home/$USER@$HOSTNAME.nix ]; then \
|
||||||
echo "Activating home env $USER@$HOSTNAME ..."; \
|
echo "Activating home env $USER@$HOSTNAME ..."; \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue