0xda157's home-manager and nixos config
at mistress 21 lines 442 B view raw
1type := `grep -q 'NAME=NixOS' /etc/*-release && echo "os" || echo "home"` 2 3default: 4 @just --list 5 6clean: 7 nh clean all --keep 5 --keep-since 5d 8 9gens: 10 {{ if type == "os" { "nixos-rebuild list-generations" } else { "home-manager generations" } }} 11 12verify-store: 13 nix store verify --all 14 15update: 16 nix flake update --commit-lock-file 17 nh os switch --ask 18 19keygen: 20 mkdir -p ~/.config/sops/age 21 age-keygen -o ~/.config/sops/age/keys.txt