Repository containing my dotifles managed by home-manager structured as per nixos-unified. It does not contain my neovim config, which instead is consumed as a flake input and can be found here.
Hopefully in the near future, when I have time, this also starts containing both NixOS and nix-darwin modules.
.
├── configurations/ # Host-specific configurations
│ └── home/ # Standalone home-manager hosts
├── modules/ # Reusable modules
│ ├── home/ # Shared home-manager modules
│ ├── shared/ # Shared NixOS+Darwin modules
│ └── flake/ # Flake-level configuration
├── overlays/ # Nixpkgs overlays
├── templates/ # Flake provided templates
├── packages/ # Packaged scripts
└── secrets/ # Encrypted secrets (agenix-rekey)
Special thank you to these great repos for their inspiration:
# or git clone [email protected]:yoquec/dotfiles.git
git clone https://github.com/yoquec/dotfiles.git ~/.dotfiles
nix run --extra-experimental-features "nix-command flakes"\
github:nix-community/home-manager -- \
switch --extra-experimental-features "nix-command flakes" --flake ~/.dotfiles#<PROFILE>To spin up development containers, pull the NixOS container image and run the home manager configuration
podman container run -it --network host --name devcontainer docker.io/nixos/nix:latest
# Once inside the devcontainer
export NIX_CONFIG='extra-experimental-features = nix-command flakes'
nix profile list --json | nix run nixpkgs#jq -- -r '.elements | keys[]' | grep -v -E "nix|nss-cacert" | xargs nix profile remove
nix run github:nix-community/home-manager -- switch --flake github:yoquec/dotfiles#devcontainer