bors[bot]
6a29ad9d12
Merge #60
...
60: add pogobanane as contributor r=Mic92 a=Mic92
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-02-06 10:22:28 +00:00
Jörg Thalheim
b3af80ef38
add pogobanane as contributor ( #60 )
2023-02-06 10:21:32 +00:00
Jörg Thalheim
9d83c80caa
add pogobanane as contributor
2023-02-06 11:20:42 +01:00
bors[bot]
c2237b4988
Merge #59
...
59: Update github settings w.r.t. repo name r=Mic92 a=Mic92
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-02-05 12:20:58 +00:00
Jörg Thalheim
7524c3afd9
.github/settings: update repo name
2023-02-05 13:20:25 +01:00
bors[bot]
4471f09b22
Merge #55
...
55: README: update logo link r=Mic92 a=Mic92
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-02-02 09:17:49 +00:00
Jörg Thalheim
0a772d5df0
README: point to main branch for logo
2023-02-02 10:16:07 +01:00
bors[bot]
3bfcd2b421
Merge #54
...
54: make background in logo white r=Mic92 a=Mic92
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-02-02 09:14:22 +00:00
Jörg Thalheim
73f33f6f5b
make background white and add license to logo
2023-02-02 10:13:21 +01:00
bors[bot]
5853f6716f
Merge #53
...
53: Improve documentation r=Mic92 a=Mic92
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-02-02 07:24:23 +00:00
Jörg Thalheim
733ca7be85
reformat with prettier
2023-02-02 08:23:43 +01:00
Jörg Thalheim
15df821835
mention nixos installer detection
2023-02-02 08:22:40 +01:00
bors[bot]
9562c139eb
Merge #52
...
52: add logo r=Mic92 a=Mic92
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-02-01 19:40:58 +00:00
Jörg Thalheim
5d2e8fe800
add logo
2023-02-01 20:40:09 +01:00
bors[bot]
8fd46ce53a
Merge #51
...
51: rename nixos-remote to nixos-anywhere r=Lassulus a=Mic92
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-02-01 18:55:07 +00:00
Jörg Thalheim
c3326a417f
rename nixos-remote to nixos-anywhere
2023-02-01 19:52:43 +01:00
bors[bot]
6fdd010b51
Merge #34
...
34: nixos-remote.sh: generate temporary ssh-key r=Mic92 a=Mic92
Co-authored-by: lassulus <lassulus@lassul.us>
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-01-27 12:30:35 +00:00
Jörg Thalheim
a67d3ac253
consistently print to stderr
2023-01-24 16:42:09 +01:00
lassulus
5943ffaf46
nixos-remote.sh: generate temporary ssh-key
...
we use this so the code has less branches for different ssh-key usecases
2023-01-24 16:42:09 +01:00
bors[bot]
f33a138c9e
Merge #47
...
47: add --from option r=Mic92 a=Mic92
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-01-24 12:38:35 +00:00
Jörg Thalheim
563b8191c2
add --from option
2023-01-24 13:36:39 +01:00
bors[bot]
b9b920844e
Merge #46
...
46: handle error case better when facts return no results back r=Mic92 a=Mic92
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-01-22 21:14:25 +00:00
Jörg Thalheim
4ea8c99a27
bors.toml: update list
2023-01-22 22:14:00 +01:00
bors[bot]
6188fdf227
Merge #48
...
48: use snake_case for variable names r=phaer a=Mic92
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-01-22 16:38:32 +00:00
Jörg Thalheim
2b7470b581
use snake_case for variable names
2023-01-22 13:29:50 +01:00
Jörg Thalheim
2f7c1a0654
apply nix fmt
2023-01-22 13:13:20 +01:00
Jörg Thalheim
87fd12fb84
flake.lock: Update
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/66add2cd9edab96f5e87477229772bf2b3ca513a' (2022-12-08)
→ 'github:nix-community/disko/e1eba38e8ea3ee6ca8ffef57668d4a37fff19ca4' (2023-01-19)
• Updated input 'nixos-images':
'github:nix-community/nixos-images/b14097667f2a9889083d6401ba468b046b2b52f1' (2022-12-23)
→ 'github:nix-community/nixos-images/acbbb3494fdf4d7f8f8e8832beeab9c448563e9b' (2023-01-19)
• Updated input 'nixos-images/nixos-2211':
'github:NixOS/nixpkgs/eabc38219184cc3e04a974fe31857d8e0eac098d' (2022-08-02)
→ 'github:NixOS/nixpkgs/f664029d68acdffe8d86e98a295b2d8303369353' (2023-01-18)
• Updated input 'nixos-images/nixos-unstable':
'github:NixOS/nixpkgs/3c6d63d22ca8b57adc4120f7c1ea5262925c8c2d' (2022-12-20)
→ 'github:NixOS/nixpkgs/8fc3a1dcc98d3603221d4afd239e666eeedb6141' (2023-01-17)
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/6bc6f77cb171a74001033d94f17f49043a9f1804' (2022-12-09)
→ 'github:nixos/nixpkgs/cfb43ad7b941d9c3606fb35d91228da7ebddbfc5' (2023-01-20)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/6717065d6a432bc3f5b827007ad959e6032d5856' (2023-01-05)
→ 'github:numtide/treefmt-nix/c117283f7482b99a89de0d6ae4b77318ad283294' (2023-01-21)
2023-01-22 13:13:20 +01:00
Jörg Thalheim
92e0ef6bf2
handle error case better when facts return no results back
2023-01-22 09:57:54 +01:00
bors[bot]
22d454d003
Merge #39
...
39: detect nixos installer r=Mic92 a=Mic92
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-01-19 15:00:05 +00:00
bors[bot]
1ce1e0ebcc
Merge #44
...
44: allow to pass nix options r=Mic92 a=Mic92
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-01-19 14:53:18 +00:00
Jörg Thalheim
809413aad5
allow to pass nix options
2023-01-18 15:03:59 +01:00
bors[bot]
32510a7cdd
Merge #43
...
43: CI r=Mic92 a=Mic92
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-01-18 11:19:39 +00:00
Jörg Thalheim
b28ec1bf61
add missing dependencies
2023-01-18 12:19:14 +01:00
bors[bot]
524a0c952b
Merge #38
...
38: also check cpu architecture r=Mic92 a=Mic92
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-01-17 22:06:48 +00:00
bors[bot]
73ecd2e4e9
Merge #40
...
40: disable pseudo tty allocation in ssh r=Mic92 a=Mic92
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-01-17 22:06:03 +00:00
bors[bot]
f1052a76be
Merge #41
...
41: expose nixos-remote tools in devshell + envrc r=Mic92 a=Mic92
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-01-17 22:05:11 +00:00
Jörg Thalheim
d2f7012d1d
expose nixos-remote tools in devshell
2023-01-17 16:32:46 +01:00
Jörg Thalheim
b5230b8640
add envrc
2023-01-17 16:32:46 +01:00
Jörg Thalheim
d467467e1a
disable pseudo tty allocation in ssh
...
This will get rid of pseudo tty warnings.
2023-01-17 16:32:06 +01:00
Jörg Thalheim
d1f75c6642
detect nixos installer
...
This requires nixos unstable
2023-01-17 16:30:03 +01:00
Jörg Thalheim
eebada15ea
also check cpu architecture
2023-01-17 16:23:58 +01:00
bors[bot]
35db719ca0
Merge #37
...
37: fix maybesudo quotation r=Mic92 a=phaer
Co-authored-by: phaer <hello@phaer.org>
2023-01-16 09:36:44 +00:00
phaer
b83a2ab4a6
fix maybesudo quotation
...
this specific form did not work for me on machines without sudo:
```
+ '' rm -rf /root/kexec
-bash: line 2: : command not found
```
2023-01-15 23:57:32 +01:00
bors[bot]
75c85709fe
Merge #36
...
36: run nix copy --substitute-on-destination by default r=Mic92 a=phaer
Co-authored-by: phaer <hello@phaer.org>
2023-01-15 19:44:10 +00:00
phaer
89f64e4f21
default to nix copy --substitute-on-destination
2023-01-15 19:27:31 +01:00
bors[bot]
9885361b5f
Merge #35
...
35: extra-files: use rsync -p, -FF r=phaer a=phaer
Co-authored-by: phaer <hello@phaer.org>
2023-01-15 12:12:39 +00:00
phaer
f44e1b2070
extra-files: use rsync -p, -FF
...
After removing -a in #15 , remote extra files are implictly chowned
according to the remote umask. So we (re-)add --perms to apply local
file permissions remotely as this should mostly be expected behavior.
The second -F disables uploading the .rsync-filter file itself if it exists.
2023-01-15 13:03:23 +01:00
bors[bot]
066d9d84ec
Merge #33
...
33: perform reboot in the background r=Mic92 a=Mic92
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-01-12 10:59:56 +00:00
Jörg Thalheim
2179012ece
perform reboot in the background
...
This allows the user to monitor reboot happens from a script and run
further actions after it comes back.
2023-01-12 11:53:30 +01:00
bors[bot]
61a3eaa8db
Merge #30
...
30: fix command check when gathering facts r=Mic92 a=Mic92
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-01-12 08:28:59 +00:00