mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
feat: update laptop config
This commit is contained in:
parent
d769b830a2
commit
623d8c9576
16 changed files with 117 additions and 105 deletions
2
justfile
2
justfile
|
|
@ -36,7 +36,7 @@ switch hostname=`hostname -s` target='':
|
|||
#!/usr/bin/env -S bash -e
|
||||
target="{{ target }}"
|
||||
if [ -z "$target" ]; then
|
||||
sudo {{ nixcmd }} run nixpkgs#nixos-rebuild -- switch --show-trace --fast --flake .#{{ hostname }}
|
||||
sudo {{ nixcmd }} run nixpkgs#nixos-rebuild -- switch --show-trace --flake .#{{ hostname }}
|
||||
else
|
||||
{{ nixcmd }} run nixpkgs#nixos-rebuild -- switch \
|
||||
--flake .#{{ hostname }} \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue