Skip to content

The KSMS repo to automate deployment of the foxglove daq system

Notifications You must be signed in to change notification settings

KSU-MS/ksu_nixos

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pre-reqs:

  • for non-nixOs systems that have the nix package manager installed:

    • enable nix flakes (Better tutorial in the ksu_daq repo)
    • install qemu-user-static qemu-user-binfmt qemu-user curl git package then in /etc/nix/nix.conf add: extra-platforms = aarch64-linux arm-linux trusted-users = root <your-user-here> and restart nix-daemon.service
  • to build the flake defined image: nix build .#images.rpi --system aarch64-linux

typical workflow:

  1. build with either
    • nix build .#images.rpi_top --system aarch64-linux
  2. nix-copy-closure --to [email protected] result/ (the output of this will have store path as part of output to switch to)
  3. ssh [email protected] (password is nixos)
  4. sudo /nix/store/<hash-from-step-2>/bin/switch-to-configuration switch
  5. profit

About

The KSMS repo to automate deployment of the foxglove daq system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Nix 100.0%