No description
Find a file
RingOfStorms (Joshua Bell) 85c1d49799 bitbucket secret
2024-03-12 03:34:43 -05:00
secrets bitbucket secret 2024-03-12 03:34:43 -05:00
systems wtf is happening 2024-03-12 01:43:35 -05:00
users wtf is happening 2024-03-12 01:43:35 -05:00
.gitignore move hardware config into git repo 2024-03-11 00:57:59 -05:00
flake.lock wtf is happening 2024-03-12 01:43:35 -05:00
flake.nix wtf is happening 2024-03-12 01:43:35 -05:00
readme.md add ragenix 2024-03-12 00:40:40 -05:00

First Install

  • Before anything else, ensure the generated hardware-configuration is copied over into the desired hostname target in systems directory.
  • //todo add experimental whatevers nixos-rebuild switch --flake /etc/nixos#gpdPocket3
  • copy oover this systems ssh public key pairs into the ./secrets/secrets.nix file - push those up, using another computer re-key all the secrets, push up again
    • pull new secrets down with new added keys

Later updates

  • nix flake update /etc/nixos
  • nixos-rebuild switch --flake /etc/nixos

Cleanup boot

I used the existing windows 100MB boot partition and it fills up constantly. Have to purge old stuff a lot this is how:

  • find '/boot/loader/entries' -type f | head -n -4 | xargs -I {} rm {}; nix-collect-garbage -d; nixos-rebuild boot; echo; df

Settings references:

TODO

  • Secret management?
    • ssh keys for github/etc
  • Use top level split out home manager configurations instead of the one built into the system config...
  • Make a flake for neovim and move out some system packages required for that into that flake, re-use for root and user rather than cloning each place?
  • EDITOR env var set to neovim
  • gif command from video
gif () {
  if [[ -z $1 ]]; then
    echo "No gif specified"
    return 1
  fi
  ffmpeg -i $1 -filter_complex "fps=7,scale=iw:-1:flags=lanczos,split[s0][s1];[s0]palettegen=max_colors=32[p];[s1][p]paletteuse=dither=bayer" $1".gif"
}