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/09ef6ec17141904ca28ddd62f2697f63c2aaa799' (2024-02-15) → 'github:nix-community/fenix/f70eee0e38bc2287687c853df9b4ed6f6a028eb0' (2024-03-02) • Updated input 'fenix/nixpkgs': 'github:nixos/nixpkgs/35ff7e87ee05199a8003f438ec11a174bcbd98ea' (2024-02-13) → 'github:nixos/nixpkgs/1536926ef5621b09bba54035ae2bb6d806d72ac8' (2024-02-29) • Updated input 'fenix/rust-analyzer-src': 'github:rust-lang/rust-analyzer/dba59970bcccfb3c6fc16ea0d0d79da875f22316' (2024-02-14) → 'github:rust-lang/rust-analyzer/79e0fee6a30a5f563e9b709cc5959694709e19c4' (2024-03-01) • Updated input 'flake-parts': 'github:hercules-ci/flake-parts/b253292d9c0a5ead9bc98c4e9a26c6312e27d69f' (2024-02-01) → 'github:hercules-ci/flake-parts/f7b3c975cf067e56e7cda6cb098ebe3fb4d74ca2' (2024-03-01) • Updated input 'flake-parts/nixpkgs-lib': 'github:NixOS/nixpkgs/97b17f32362e475016f942bbdfda4a4a72a8a652?dir=lib' (2024-01-29) → 'github:NixOS/nixpkgs/1536926ef5621b09bba54035ae2bb6d806d72ac8?dir=lib' (2024-02-29) • Updated input 'home-manager': 'github:nix-community/home-manager/043ba285c6dc20f36441d48525402bcb9743c498' (2024-02-14) → 'github:nix-community/home-manager/2f3367769a93b226c467551315e9e270c3f78b15' (2024-02-29) • Updated input 'hyprland': 'github:hyprwm/Hyprland/a8dae8f5e198327e5de8508d860234089f31e272' (2024-02-15) → 'github:hyprwm/Hyprland/d72ea5f2a7fdb0d0a7bf914412327195b05199b0' (2024-03-02) • Added input 'hyprland/hyprlang': 'github:hyprwm/hyprlang/0fce791ba2334aca183f2ed42399518947550d0d' (2024-02-24) • Added input 'hyprland/hyprlang/nixpkgs': follows 'hyprland/nixpkgs' • Added input 'hyprland/hyprlang/systems': follows 'hyprland/systems' • Updated input 'hyprland/nixpkgs': 'github:NixOS/nixpkgs/d934204a0f8d9198e1e4515dd6fec76a139c87f0' (2024-02-10) → 'github:NixOS/nixpkgs/73de017ef2d18a04ac4bfd0c02650007ccb31c2a' (2024-02-24) • Updated input 'hyprland/wlroots': 'gitlab:wlroots/wlroots/00b869c1a96f300a8f25da95d624524895e0ddf2' (2024-01-27) → 'gitlab:wlroots/wlroots/0cb091f1a2d345f37d2ee445f4ffd04f7f4ec9e5' (2024-02-21) • Updated input 'hyprland/xdph': 'github:hyprwm/xdg-desktop-portal-hyprland/c06fd88b3da492b8f9067be021b9184f7012b5a8' (2024-01-29) → 'github:hyprwm/xdg-desktop-portal-hyprland/1b713911c2f12b96c2574474686e4027ac4bf826' (2024-02-23) • Updated input 'hyprland/xdph/hyprlang': 'github:hyprwm/hyprlang/6624f2bb66d4d27975766e81f77174adbe58ec97' (2024-01-03) → follows 'hyprland/hyprlang' • Removed input 'hyprland/xdph/hyprlang/nixpkgs' • Updated input 'nix-index-database': 'github:nix-community/nix-index-database/0cb4345704123492e6d1f1068629069413c80de0' (2024-02-11) → 'github:nix-community/nix-index-database/f070c7eeec3bde8c8c8baa9c02b6d3d5e114d73b' (2024-02-25) • Updated input 'nixos-apple-silicon': 'github:tpwrules/nixos-apple-silicon/6e324ab06cb27a19409ebc1dc2664bf1e585490a' (2024-01-18) → 'github:tpwrules/nixos-apple-silicon/9ccf1cb93bdaa96294598bef8a7ffaa72226b0fb' (2024-02-29) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/a4d4fe8c5002202493e87ec8dbc91335ff55552c' (2024-02-15) → 'github:nixos/nixpkgs/1536926ef5621b09bba54035ae2bb6d806d72ac8' (2024-02-29) • Updated input 'pre-commit-hooks': 'github:cachix/pre-commit-hooks.nix/0db2e67ee49910adfa13010e7f012149660af7f0' (2024-02-07) → 'github:cachix/pre-commit-hooks.nix/5df5a70ad7575f6601d91f0efec95dd9bc619431' (2024-02-15) • Updated input 'stylix': 'github:danth/stylix/50cae37cfe23e5ad202ed53f48529139dfa0d008' (2024-02-12) → 'github:danth/stylix/fcff15ac5ffbe81f1c66e352f3167c270d79cdab' (2024-02-25) • Updated input 'stylix/base16': 'github:SenchoPens/base16.nix/b390e87cd404e65ab4d786666351f1292e89162a' (2024-01-13) → 'github:SenchoPens/base16.nix/665b3c6748534eb766c777298721cece9453fdae' (2024-02-25) |
||
---|---|---|
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