mirror of
https://github.com/Defelo/nixos.git
synced 2025-05-12 18:52:49 +00:00
add fetch.sh
This commit is contained in:
parent
fd93b1b510
commit
29174c9cb7
1 changed files with 6 additions and 0 deletions
6
fetch.sh
Executable file
6
fetch.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
path=$(nix eval --raw .#nixosConfigurations."$(cat /proc/sys/kernel/hostname)".config.system.build.toplevel.outPath)
|
||||
nix-store -r "$path"
|
Loading…
Add table
Add a link
Reference in a new issue