figured out agenix
This commit is contained in:
parent
3dffa4eb4b
commit
8ee4c2b758
6 changed files with 40 additions and 29 deletions
24
flake.lock
generated
24
flake.lock
generated
|
|
@ -104,11 +104,11 @@
|
||||||
"rust-overlay": "rust-overlay"
|
"rust-overlay": "rust-overlay"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1711561478,
|
"lastModified": 1711723484,
|
||||||
"narHash": "sha256-eqQ+4cR3ucML1+Wy8LbHfpEkUqYNVHN/2p5PBibQAYw=",
|
"narHash": "sha256-lRF/0zfF4jwsUvJAbl7D4pQRxpqrTCJaEMZ7DvPOw60=",
|
||||||
"owner": "the-mikedavis",
|
"owner": "the-mikedavis",
|
||||||
"repo": "helix",
|
"repo": "helix",
|
||||||
"rev": "eb77bef47562f88604756a946d97a22a3fed68ff",
|
"rev": "22e2d20ac058efb86c4ca35a6d221f92eedc8f3b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -145,11 +145,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1711604890,
|
"lastModified": 1711625603,
|
||||||
"narHash": "sha256-vbI/gxRTq/gHW1Q8z6D/7JG/qGNl3JTimUDX+MwnC3A=",
|
"narHash": "sha256-W+9dfqA9bqUIBV5u7jaIARAzMe3kTq/Hp2SpSVXKRQw=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "3142bdcc470e1e291e1fbe942fd69e06bd00c5df",
|
"rev": "c0ef0dab55611c676ad7539bf4e41b3ec6fa87d2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -189,11 +189,11 @@
|
||||||
"rust-overlay": "rust-overlay_2"
|
"rust-overlay": "rust-overlay_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1711590786,
|
"lastModified": 1711716489,
|
||||||
"narHash": "sha256-oeWqmHDAreQo5PqVIG2hSDnihi6SXqSvNhCZN4fHNvs=",
|
"narHash": "sha256-4ksCvWUNxWRfVqwlBoSZw7DKY4mClSzQ7zh+IhtA8xg=",
|
||||||
"owner": "martinvonz",
|
"owner": "martinvonz",
|
||||||
"repo": "jj",
|
"repo": "jj",
|
||||||
"rev": "916dc30828b76a7cc576a5acfc88dd6ee9a25feb",
|
"rev": "dd1def02e487a2a43903aa88022b266a3ecbef4d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -210,11 +210,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1711599780,
|
"lastModified": 1711676942,
|
||||||
"narHash": "sha256-oBeOUfEgR4IWYLqsE+/WFEXQ/AjQo9hGVWV9f2XqfI4=",
|
"narHash": "sha256-hK5VXks2KsaGVxxvS6rd0RwMFiKwCArGF1dN2ZgyMSU=",
|
||||||
"owner": "lilyinstarlight",
|
"owner": "lilyinstarlight",
|
||||||
"repo": "nixos-cosmic",
|
"repo": "nixos-cosmic",
|
||||||
"rev": "1e17eab80fe3fc882e0cfdd84a1b9c20ebc65b26",
|
"rev": "a889b24ecc71208a2ac6a81368f59dc6a89ab204",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,8 @@
|
||||||
let
|
let
|
||||||
tao-NOlaptop = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINimJXI8WOYUMwfAcGyKB9EYtuaClNjeEH4ZTQl9tuUY";
|
NOlaptop = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGFACYTHNr0dgtTe8cb6q+NwI1KaKJmNsUrnz5/8ZDvH";
|
||||||
users = [tao-NOlaptop];
|
systems = [NOlaptop];
|
||||||
in {
|
in {
|
||||||
"uwuraid.age".publicKeys = users;
|
"uwuraid.age".publicKeys = systems;
|
||||||
"syncthing-NOcomputer.age".publicKeys = users;
|
"syncthing-NOcomputer.age".publicKeys = systems;
|
||||||
|
"syncthing-NOlaptop.age".publicKeys = systems;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1,5 +1,6 @@
|
||||||
age-encryption.org/v1
|
age-encryption.org/v1
|
||||||
-> ssh-ed25519 hvSR/A ppOgIpREfIuU2qRX0Zk2RS3TSD+ZgvvzqNB/7V1wAgc
|
-> ssh-ed25519 iNXO0g z8i2LWg5PYpBr0J9bUZvwi6M5YLqHvSxUCMjJEKJTmE
|
||||||
GzDSBWn2X7eoswGQe24TyK6VGE6h4jrZFi5OaNBNI3g
|
aM9v+oYgyQU/B1r5T80ulxYKeypCs7Ns2UzN0hgcbbc
|
||||||
--- KCCs0c1oBkdKXBlhmOs/OMXeH6MCOatfWYeghZhAdcU
|
--- F4vnTP/zRtsCIWmEzXbOnE0RjHzdSaamlmpmYJOy914
|
||||||
{<7B>!}+ÂPµKø•û>Hà<#‡d,Ü£<C39C>«˜GTOiÌcZU³1x€&Öô‡²q–K¬ýE™ßËwšþMg3£$FQgÔ*&®œ—×
|
ЧW9àÖIV¿¡øîº>o¦ÖÙRW¶ˆõ‘ÍÐJöNw²„%Áp²†8±û!x¯í&é
|
||||||
|
“žÿCO{pé ®j‹f/
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
# texlab
|
# texlab
|
||||||
# tio
|
# tio
|
||||||
# toastify
|
# toastify
|
||||||
# vial
|
vial
|
||||||
# wkhtmltopdf
|
# wkhtmltopdf
|
||||||
# yazi
|
# yazi
|
||||||
appimage-run
|
appimage-run
|
||||||
|
|
@ -85,14 +85,23 @@
|
||||||
overrideFolders = false;
|
overrideFolders = false;
|
||||||
settings = {
|
settings = {
|
||||||
devices = {
|
devices = {
|
||||||
# # we do a lil anti-patterns https://github.com/ryantm/agenix?tab=readme-ov-file#builtinsreadfile-anti-pattern
|
# we do a lil anti-patterns https://github.com/ryantm/agenix?tab=readme-ov-file#builtinsreadfile-anti-pattern
|
||||||
# # bootstrap by commenting out devices first, and running nixos-rebuild as user
|
# bootstrap by commenting out devices first and rebuild switch impurely
|
||||||
# "nocomputer".id = builtins.readFile config.age.secrets.syncthing-NOcomputer.path;
|
"nocomputer".id = builtins.readFile config.age.secrets.syncthing-NOcomputer.path;
|
||||||
};
|
};
|
||||||
folders = {
|
folders = {
|
||||||
"sync".path = "/home/tao/sync";
|
"sync" = {
|
||||||
"school".path = "/home/tao/school";
|
path = "/home/tao/sync";
|
||||||
"projects".path = "/home/tao/projects";
|
devices = ["nocomputer"];
|
||||||
|
};
|
||||||
|
"school" = {
|
||||||
|
path = "/home/tao/school";
|
||||||
|
devices = ["nocomputer"];
|
||||||
|
};
|
||||||
|
"projects" = {
|
||||||
|
path = "/home/tao/projects";
|
||||||
|
devices = ["nocomputer"];
|
||||||
|
};
|
||||||
# "pictures".path = "/home/tao/pictures";
|
# "pictures".path = "/home/tao/pictures";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,8 @@ alias gc = sudo nix-collect-garbage -d
|
||||||
alias js = jj status
|
alias js = jj status
|
||||||
alias jd = jj diff
|
alias jd = jj diff
|
||||||
alias pu = pueue
|
alias pu = pueue
|
||||||
alias rb = sudo nice -n19 nixos-rebuild boot --flake .
|
alias rb = sudo nice -n19 nixos-rebuild boot --flake . --impure
|
||||||
alias rs = sudo nice -n19 nixos-rebuild switch --flake .
|
alias rs = sudo nice -n19 nixos-rebuild switch --flake . --impure
|
||||||
alias t = task
|
alias t = task
|
||||||
alias ts = tailscale
|
alias ts = tailscale
|
||||||
alias tss = tailscale status
|
alias tss = tailscale status
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue