$ tree -v --dirsfirst -L 1
.
├── dev # `nix develop .#package & source interactive.bash`
├── home # wrap packages for home-level installation
├── hosts # enable system and home manager modules for a host
├── overlays # add to or modify nixpkgs
├── pkgs # define custom packages
├── system # wrap packages for system-level installation
├── LICENSE # MIT
├── README.md # *you are here
├── flake.lock # pin inputs' versions
└── flake.nix # config entrypoint
$ nix flake show
.
├───nixosConfigurations
│ ├───athamas: NixOS configuration
│ ├───charon: NixOS configuration
│ └───sisyphus: NixOS configuration
└───packages
└───x86_64-linux
└───pixelflasher: package 'pixelflasher-7.6.0.0'
# build and deploy local configuration
sudo nixos-rebuild switch --flake .
# build target configuration locally and push over ssh
nixos-rebuild switch --flake . --target-host user@targetHost --use-remote-sudo
Tip
Copying /nix/store
paths during remote deployments requires that the ssh user be in nix.settings.trusted-users
.
- ideamaker: init at 4.3.3
- pixelflasher: init at 7.6.0.0 (open, add a 👍 if you want it merged)
- ytmdesktop: init at 2.0.5