-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
34 lines (34 loc) · 949 Bytes
/
Taskfile.yml
File metadata and controls
34 lines (34 loc) · 949 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# https://taskfile.dev
version: "3"
tasks:
switch:
cmds:
- sudo -v
- sudo nixos-rebuild switch --flake ~/dotfiles --log-format internal-json --accept-flake-config |& nom --json
setup-ocaml:
cmds:
- elan default stable
- opam init && opam install ocaml-lsp-server odoc ocamlformat utop dune
installer:
cmds:
- nix build .#nixosConfigurations.installer.config.system.build.isoImage
create-sb-key:
cmds:
- sudo sbctl create-keys
- sudo sbctl verify
enroll-sb-key:
cmds:
- sudo sbctl enroll-keys --microsoft
enroll-luks-key:
cmds:
- systemd-cryptenroll --tpm-device=auto
- systemd-cryptenroll --recovery-key
gen-config:
cmds:
- nixos-generate-config --no-filesystems --root /mnt --dir .
disko:
cmds:
- echo "disko --mode destroy,format,mount --flake ~/dotfiles#"
install:
cmds:
- echo "nixos-install --flake ~/dotfiles#"