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/0371cb3179c16f4f932557f855082bf57d371166' (2024-05-04) → 'github:nix-community/fenix/24d83329e95a3bc48cbe9f3cd23813c210a25ea6' (2024-05-05) • Updated input 'fenix/nixpkgs': 'github:nixos/nixpkgs/63c3a29ca82437c87573e4c6919b09a24ea61b0f' (2024-05-02) → 'github:nixos/nixpkgs/e9be42459999a253a9f92559b1f5b72e1b44c13d' (2024-05-03) • Updated input 'home-manager': 'github:nix-community/home-manager/e0825ea2112d09d9f0680833cd716f6aee3b973f' (2024-05-04) → 'github:nix-community/home-manager/3dfe05aa9b5646995ace887931fa60269a039777' (2024-05-05) • Updated input 'hyprland': 'github:hyprwm/Hyprland/0b215c5f246d3fde6c023e78b3e3579f7498c172' (2024-05-04) → 'github:hyprwm/Hyprland/cddeec47a1fc0e70d8598fd10c29cd0e9489999f' (2024-05-05) • Removed input 'hyprland/hyprland-protocols' • Removed input 'hyprland/hyprland-protocols/nixpkgs' • Removed input 'hyprland/hyprland-protocols/systems' • Removed input 'hyprland/wlroots' • Updated input 'hyprland/xdph/hyprland-protocols': follows 'hyprland/hyprland-protocols' → 'github:hyprwm/hyprland-protocols/e06482e0e611130cd1929f75e8c1cf679e57d161' (2024-05-05) • Added input 'hyprland/xdph/hyprland-protocols/nixpkgs': follows 'hyprland/xdph/nixpkgs' • Added input 'hyprland/xdph/hyprland-protocols/systems': follows 'hyprland/xdph/systems' • Updated input 'nix-index-database': 'github:nix-community/nix-index-database/941c4973c824509e0356be455d89613611f76c8a' (2024-04-28) → 'github:nix-community/nix-index-database/a362555e9dbd4ecff3bb98969bbdb8f79fe87f10' (2024-05-05) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/63c3a29ca82437c87573e4c6919b09a24ea61b0f' (2024-05-02) → 'github:nixos/nixpkgs/e9be42459999a253a9f92559b1f5b72e1b44c13d' (2024-05-03) |
||
---|---|---|
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