mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
Add tungsten (#9)
Reviewed-on: https://codeberg.org/leana8959/.files/pulls/9 Co-authored-by: Léana 江 <leana.jiang+git@icloud.com> Co-committed-by: Léana 江 <leana.jiang+git@icloud.com>
This commit is contained in:
parent
1848be039a
commit
b20a752858
41 changed files with 1749 additions and 43 deletions
9
Justfile
9
Justfile
|
|
@ -8,6 +8,15 @@ os host action:
|
|||
--file ./default.nix \
|
||||
--attr "nixosConfigurations.{{ host }}"
|
||||
|
||||
install host:
|
||||
#!/usr/bin/env bash
|
||||
nixpkgs=$(nix-instantiate --eval -E "let sources = import ./nix/sources.nix {}; in sources.nixpkgs.outPath" | jq -r .)
|
||||
sudo nixos-install \
|
||||
-I nixpkgs=${nixpkgs} \
|
||||
-I nixos-config=./nix/configurations/{{ host }}.nix \
|
||||
--file ./default.nix \
|
||||
--attr "nixosConfigurations.{{ host }}"
|
||||
|
||||
update:
|
||||
niv update nixpkgs
|
||||
niv update nur
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue