My dotfiles, this time with nix.
Find a file
willemml 3149ea6052
flake.lock: Update
Flake lock file updates:

• Updated input 'fenix':
    'github:nix-community/fenix/d0439c495e5cd13ff252ade520ca620f52abb40b' (2024-03-15)
  → 'github:nix-community/fenix/0371cb3179c16f4f932557f855082bf57d371166' (2024-05-04)
• Updated input 'fenix/nixpkgs':
    'github:nixos/nixpkgs/0ad13a6833440b8e238947e47bea7f11071dc2b2' (2024-03-12)
  → 'github:nixos/nixpkgs/63c3a29ca82437c87573e4c6919b09a24ea61b0f' (2024-05-02)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/14558af15ee3d471bf8f4212f7609ae1f9647bc5' (2024-03-14)
  → 'github:rust-lang/rust-analyzer/1a5bb27c018c947dab01ab70ffe1d267b0481a17' (2024-05-03)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/f7b3c975cf067e56e7cda6cb098ebe3fb4d74ca2' (2024-03-01)
  → 'github:hercules-ci/flake-parts/e5d10a24b66c3ea8f150e47dfdb0416ab7c3390e' (2024-05-02)
• Updated input 'flake-parts/nixpkgs-lib':
    'github:NixOS/nixpkgs/1536926ef5621b09bba54035ae2bb6d806d72ac8?dir=lib' (2024-02-29)
  → '50eb7ecf4c.tar.gz?narHash=sha256-QBx10%2Bk6JWz6u7VsohfSw8g8hjdBZEf8CFzXH1/1Z94%3D' (2024-05-02)
• Updated input 'home-manager':
    'github:nix-community/home-manager/dc2f3812b41f825ed466c24c4211160d75cb890c' (2024-03-15)
  → 'github:nix-community/home-manager/e0825ea2112d09d9f0680833cd716f6aee3b973f' (2024-05-04)
• Updated input 'hyprland':
    'github:hyprwm/Hyprland/bc15a8f60028539690cccdb78eed7fc9175fe792' (2024-03-15)
  → 'github:hyprwm/Hyprland/0b215c5f246d3fde6c023e78b3e3579f7498c172' (2024-05-04)
• Updated input 'hyprland/hyprcursor':
    'github:hyprwm/hyprcursor/1761f6cefd77f4fcd2039d930c88d6716ddc4974' (2024-03-12)
  → 'github:hyprwm/hyprcursor/cab4746180f210a3c1dd3d53e45c510e309e90e1' (2024-04-20)
• Updated input 'hyprland/hyprcursor/hyprlang':
    'github:hyprwm/hyprlang/a685493fdbeec01ca8ccdf1f3655c044a8ce2fe2' (2024-03-08)
  → follows 'hyprland/hyprlang'
• Removed input 'hyprland/hyprcursor/hyprlang/nixpkgs'
• Removed input 'hyprland/hyprcursor/hyprlang/systems'
• Updated input 'hyprland/hyprlang':
    'github:hyprwm/hyprlang/a685493fdbeec01ca8ccdf1f3655c044a8ce2fe2' (2024-03-08)
  → 'github:hyprwm/hyprlang/78fcaa27ae9e1d782faa3ff06c8ea55ddce63706' (2024-04-14)
• Added input 'hyprland/hyprwayland-scanner':
    'github:hyprwm/hyprwayland-scanner/1270ebaa539e56d61b708c24b072b09cbbd3a828' (2024-05-03)
• Added input 'hyprland/hyprwayland-scanner/nixpkgs':
    follows 'hyprland/nixpkgs'
• Added input 'hyprland/hyprwayland-scanner/systems':
    follows 'hyprland/systems'
• Updated input 'hyprland/nixpkgs':
    'github:NixOS/nixpkgs/0ad13a6833440b8e238947e47bea7f11071dc2b2' (2024-03-12)
  → 'github:NixOS/nixpkgs/58a1abdbae3217ca6b702f03d3b35125d88a2994' (2024-04-27)
• Updated input 'hyprland/wlroots':
    'gitlab:wlroots/wlroots/50eae512d9cecbf0b3b1898bb1f0b40fa05fe19b' (2024-03-09)
  → 'github:hyprwm/wlroots-hyprland/5c1d51c5a2793480f5b6c4341ad0797052aec2ea' (2024-04-21)
• Updated input 'hyprland/xdph':
    'github:hyprwm/xdg-desktop-portal-hyprland/2d2fb547178ec025da643db57d40a971507b82fe' (2024-03-01)
  → 'github:hyprwm/xdg-desktop-portal-hyprland/0fe840441e43da12cd7865ed9aa8cdc35a8da85a' (2024-04-25)
• Updated input 'nix-index-database':
    'github:nix-community/nix-index-database/e76ff2df6bfd2abe06abd8e7b9f217df941c1b07' (2024-03-11)
  → 'github:nix-community/nix-index-database/941c4973c824509e0356be455d89613611f76c8a' (2024-04-28)
• Updated input 'nixd':
    'github:nix-community/nixd/6800a8f74a9c97b4c5a4eaf544befa1a13d07794' (2024-03-15)
  → 'github:nix-community/nixd/af6bb716038eecf5bad0ead6ed14a4c1e5b74c13' (2024-05-02)
• Added input 'nixd/flake-root':
    'github:srid/flake-root/bc748b93b86ee76e2032eecda33440ceb2532fcd' (2024-04-19)
• Updated input 'nixos-apple-silicon':
    'github:tpwrules/nixos-apple-silicon/bdc68b494d6a26c9457f4841ab1a6109b12a33e6' (2024-03-12)
  → 'github:tpwrules/nixos-apple-silicon/4fac534b775aa0c40611257fa19ab8ab3243f4dc' (2024-04-28)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/d691274a972b3165335d261cc4671335f5c67de9' (2024-03-14)
  → 'github:nixos/nixpkgs/63c3a29ca82437c87573e4c6919b09a24ea61b0f' (2024-05-02)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/5df5a70ad7575f6601d91f0efec95dd9bc619431' (2024-02-15)
  → 'github:cachix/pre-commit-hooks.nix/2849da033884f54822af194400f8dff435ada242' (2024-04-30)
• Updated input 'pre-commit-hooks/flake-utils':
    'github:numtide/flake-utils/4022d587cbbfd70fe950c1e2083a02621806a725' (2023-12-04)
  → 'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a' (2024-03-11)
• Updated input 'pre-commit-hooks/gitignore':
    'github:hercules-ci/gitignore.nix/43e1aa1308018f37118e34d3a9cb4f5e75dc11d5' (2023-12-29)
  → 'github:hercules-ci/gitignore.nix/637db329424fd7e46cf4185293b9cc8c88c95394' (2024-02-28)
• Updated input 'pre-commit-hooks/nixpkgs-stable':
    'github:NixOS/nixpkgs/3dc440faeee9e889fe2d1b4d25ad0f430d449356' (2024-01-10)
  → 'github:NixOS/nixpkgs/614b4613980a522ba49f0d194531beddbb7220d3' (2024-03-17)
• Updated input 'stylix':
    'github:danth/stylix/eb64377e66122de7a36ca7a611aa97ddf4c8e5e8' (2024-03-14)
  → 'github:danth/stylix/43d23b1609b87f6a4100db2a09bd118c52c78766' (2024-05-01)
• Removed input 'stylix/base16-alacritty'
• Removed input 'stylix/base16-alacritty-yaml'
• Updated input 'stylix/home-manager':
    'github:nix-community/home-manager/3df2a80f3f85f91ea06e5e91071fa74ba92e5084' (2024-01-23)
  → 'github:nix-community/home-manager/820be197ccf3adaad9a8856ef255c13b6cc561a6' (2024-03-31)
2024-05-04 17:03:06 -07:00
common Refactors profiles for gui, desktop and laptop 2024-02-06 16:29:34 -08:00
home Disables brew uninstall cleanup and adds dotnetsdk 2024-05-04 17:01:40 -07:00
libvirt/vm Adds windows11 libvirt xml config for glassbox 2024-03-02 13:57:42 -08:00
nixos Disables brew uninstall cleanup and adds dotnetsdk 2024-05-04 17:01:40 -07:00
packages Disables aarch64 widevine on x86 2024-02-04 11:44:03 -08:00
.envrc nix direnv 2023-03-20 09:30:18 -07:00
.gitattributes Enables git-crypt 2023-11-19 14:11:06 -08:00
.gitignore Restructrues entire flake 2023-11-09 14:10:10 -08:00
flake.lock flake.lock: Update 2024-05-04 17:03:06 -07:00
flake.nix Switches from rnix-lsp to nixd 2024-03-15 08:40:42 -07:00
LICENSE add MIT license 2023-03-16 12:28:17 -07:00
README.md Updates glassbox boot disk 2024-02-14 21:17:53 -08:00

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