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/f70eee0e38bc2287687c853df9b4ed6f6a028eb0' (2024-03-02) → 'github:nix-community/fenix/5708f08c8bcb6dd98b573a162e05cd5aa506091e' (2024-03-11) • Updated input 'fenix/nixpkgs': 'github:nixos/nixpkgs/1536926ef5621b09bba54035ae2bb6d806d72ac8' (2024-02-29) → 'github:nixos/nixpkgs/3030f185ba6a4bf4f18b87f345f104e6a6961f34' (2024-03-09) • Updated input 'fenix/rust-analyzer-src': 'github:rust-lang/rust-analyzer/79e0fee6a30a5f563e9b709cc5959694709e19c4' (2024-03-01) → 'github:rust-lang/rust-analyzer/574e23ec508064613783cba3d1833a95fd9a5080' (2024-03-09) • Updated input 'home-manager': 'github:nix-community/home-manager/2f3367769a93b226c467551315e9e270c3f78b15' (2024-02-29) → 'github:nix-community/home-manager/017b12de5b899ef9b64e2c035ce257bfe95b8ae2' (2024-03-11) • Updated input 'hyprland': 'github:hyprwm/Hyprland/d72ea5f2a7fdb0d0a7bf914412327195b05199b0' (2024-03-02) → 'github:hyprwm/Hyprland/66330281ff19e84c986c5ce639b670929e5dadd6' (2024-03-11) • Added input 'hyprland/hyprcursor': 'github:hyprwm/hyprcursor/05db7dfd7fc261e0195e54f8a6d655d4f370e70f' (2024-03-10) • Added input 'hyprland/hyprcursor/hyprlang': 'github:hyprwm/hyprlang/a685493fdbeec01ca8ccdf1f3655c044a8ce2fe2' (2024-03-08) • Added input 'hyprland/hyprcursor/hyprlang/nixpkgs': follows 'hyprland/hyprcursor/nixpkgs' • Added input 'hyprland/hyprcursor/hyprlang/systems': 'github:nix-systems/default-linux/31732fcf5e8fea42e59c2488ad31a0e651500f68' (2023-07-14) • Added input 'hyprland/hyprcursor/nixpkgs': follows 'hyprland/nixpkgs' • Added input 'hyprland/hyprcursor/systems': follows 'hyprland/systems' • Updated input 'hyprland/hyprlang': 'github:hyprwm/hyprlang/0fce791ba2334aca183f2ed42399518947550d0d' (2024-02-24) → 'github:hyprwm/hyprlang/a685493fdbeec01ca8ccdf1f3655c044a8ce2fe2' (2024-03-08) • Updated input 'hyprland/nixpkgs': 'github:NixOS/nixpkgs/73de017ef2d18a04ac4bfd0c02650007ccb31c2a' (2024-02-24) → 'github:NixOS/nixpkgs/3030f185ba6a4bf4f18b87f345f104e6a6961f34' (2024-03-09) • Updated input 'hyprland/wlroots': 'gitlab:wlroots/wlroots/0cb091f1a2d345f37d2ee445f4ffd04f7f4ec9e5' (2024-02-21) → 'gitlab:wlroots/wlroots/50eae512d9cecbf0b3b1898bb1f0b40fa05fe19b' (2024-03-09) • Updated input 'hyprland/xdph': 'github:hyprwm/xdg-desktop-portal-hyprland/1b713911c2f12b96c2574474686e4027ac4bf826' (2024-02-23) → 'github:hyprwm/xdg-desktop-portal-hyprland/2d2fb547178ec025da643db57d40a971507b82fe' (2024-03-01) • Updated input 'nix-index-database': 'github:nix-community/nix-index-database/f070c7eeec3bde8c8c8baa9c02b6d3d5e114d73b' (2024-02-25) → 'github:nix-community/nix-index-database/e76ff2df6bfd2abe06abd8e7b9f217df941c1b07' (2024-03-11) • Updated input 'nixos-apple-silicon': 'github:tpwrules/nixos-apple-silicon/9ccf1cb93bdaa96294598bef8a7ffaa72226b0fb' (2024-02-29) → 'github:tpwrules/nixos-apple-silicon/92056c4a93ca50f8abc20cef2aade3a645a44cee' (2024-03-06) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/1536926ef5621b09bba54035ae2bb6d806d72ac8' (2024-02-29) → 'github:nixos/nixpkgs/3030f185ba6a4bf4f18b87f345f104e6a6961f34' (2024-03-09) |
||
---|---|---|
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