mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 11:17:17 +00:00
My dotfiles, this time with nix.
Flake lock file updates: • Updated input 'fenix': 'github:nix-community/fenix/43efa7a3a97f290441bd75b18defcd4f7b8df220?narHash=sha256-YyMNF7IFyysZ2KeqEO6AmV3nQeaDSxyNXLdHp1ghO60%3D' (2024-09-13) → 'github:nix-community/fenix/8519a70a1a81db2dd22316f94c25d7510218169e?narHash=sha256-DwKpay17BJ8XhWn2PVhNEUS98qql2LZ/z37ZbGwdZCM%3D' (2024-12-07) • Updated input 'fenix/nixpkgs': 'github:nixos/nixpkgs/574d1eac1c200690e27b8eb4e24887f8df7ac27c?narHash=sha256-v3rIhsJBOMLR8e/RNWxr828tB%2BWywYIoajrZKFM%2B0Gg%3D' (2024-09-06) → 'github:nixos/nixpkgs/d0797a04b81caeae77bcff10a9dde78bc17f5661?narHash=sha256-kEsTJTUQfQFIJOcLYFt/RvNxIK653ZkTBIs4DG%2BcBns%3D' (2024-12-05) • Updated input 'fenix/rust-analyzer-src': 'github:rust-lang/rust-analyzer/bcc708992104c2059f310fbc3ac00bfc377f9ea8?narHash=sha256-0HKj%2BJI6rtxaE6Kzcd6HyFNbEFJRsLy5DoNgVF1pyRM%3D' (2024-09-10) → 'github:rust-lang/rust-analyzer/17720acb90105cbd736d3e78d736eb5d41af89a5?narHash=sha256-EP/qkXR1CN4vIi5atysuKsQBXuolYnU3rVdLxUv0XqM%3D' (2024-12-06) • Updated input 'flake-parts': 'github:hercules-ci/flake-parts/bcef6817a8b2aa20a5a6dbb19b43e63c5bf8619a?narHash=sha256-HO4zgY0ekfwO5bX0QH/3kJ/h4KvUDFZg8YpkNwIbg1U%3D' (2024-09-12) → 'github:hercules-ci/flake-parts/205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9?narHash=sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c%3D' (2024-12-04) • Updated input 'flake-parts/nixpkgs-lib': ' |
||
---|---|---|
common | ||
home | ||
libvirt/vm | ||
nixos | ||
packages | ||
.envrc | ||
.gitattributes | ||
.gitignore | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
README.md |
My dotfiles using Nix. System configuration done using nix-darwin and NixOS. User configuration using home-manager. This repo is put together as a flake using flake-parts.
All Nix code in this repo is formatted using alejandra.
Usage
Switch both system (NixOS) and home:
nixos-rebuild switch --flake .
Switch system (nix-darwin):
darwin-rebuild switch --flake .
Update all inputs:
nix flake update --commit-lock-file
Update a single input:
nix flake lock --update-input nixpkgs --commit-lock-file
Format all nix files:
nix fmt
Enter the dev shell (if not using nix-direnv):
nix develop