My dotfiles, this time with nix.
Find a file
willemml 3e7e5ccc07
flake.lock: Update
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)
2024-05-05 11:37:12 -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-05 11:37:12 -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