$ tree -v --dirsfirst -L 1
.
├── dev # `nix develop .#package & source interactive.bash`
├── hosts # enable modules for a host
├── modules # custom modules mixing nixos and home-manager
├── overlays # add to or modify nixpkgs
├── pkgs # define custom packages
├── 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.9.2.4'
# 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.9.2.4 (open, add a 👍 if you want it merged)
- ytmdesktop: init at 2.0.5