Skip to content

Commit 67bd771

Browse files
committed
feat: Update Nix to 25.05 and fix a few things
- Homebrew is now Declarative - Update Lix - Remove hardcoded username - Use delta as Git diff pager - Use Snacks in Neovim - Fix TMUX resurrect
1 parent bb95ec2 commit 67bd771

34 files changed

Lines changed: 531 additions & 247 deletions

File tree

.config/nix/flake.lock

Lines changed: 117 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.config/nix/flake.nix

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,23 @@
77
description = "My system configuration";
88

99
inputs = {
10-
nixpkgs.url = "github:NixOS/nixpkgs?rev=5ef6c425980847c78a80d759abc476e941a9bf42";
10+
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
1111
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
1212
nix-darwin = {
13-
url = "github:LnL7/nix-darwin/nix-darwin-24.11";
13+
url = "github:LnL7/nix-darwin/nix-darwin-25.05";
1414
inputs.nixpkgs.follows = "nixpkgs";
1515
};
1616
nix-rosetta-builder = {
1717
url = "github:cpick/nix-rosetta-builder";
1818
inputs.nixpkgs.follows = "nixpkgs";
1919
};
2020
lix-module = {
21-
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.92.0.tar.gz";
21+
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.93.0.tar.gz";
2222
inputs.nixpkgs.follows = "nixpkgs";
2323
inputs.flake-utils.inputs.systems.follows = "systems";
2424
};
2525
home-manager = {
26-
url = "github:nix-community/home-manager/release-24.11";
26+
url = "github:nix-community/home-manager/release-25.05";
2727
inputs.nixpkgs.follows = "nixpkgs";
2828
};
2929
# Prebuilt package index - provides comma package
@@ -72,6 +72,18 @@
7272
repo = "treefmt-nix";
7373
inputs.nixpkgs.follows = "nixpkgs";
7474
};
75+
76+
nix-homebrew.url = "github:zhaofengli/nix-homebrew";
77+
78+
# Optional: Declarative tap management
79+
homebrew-core = {
80+
url = "github:homebrew/homebrew-core";
81+
flake = false;
82+
};
83+
homebrew-cask = {
84+
url = "github:homebrew/homebrew-cask";
85+
flake = false;
86+
};
7587
};
7688

7789
outputs =

.config/nix/home-manager/_mixins/features/basics/default.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,24 @@ let
1313
in
1414
{
1515
home.packages = with pkgs; [
16+
p7zip
1617
btop
1718
curl
19+
dogdns
1820
du-dust
1921
eza
2022
fd
2123
htop
2224
jq
2325
just
2426
lesspipe
27+
nodejs # yuck
2528
ripgrep
2629
silver-searcher
30+
tre
2731
unzip
2832
wget
33+
wtfutil
2934
zstd
3035
];
3136
programs = {

.config/nix/home-manager/_mixins/features/docker/default.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ in
2323

2424
xdg.configFile."colima/default/colima.yaml".source =
2525
config.lib.file.mkOutOfStoreSymlink "${dir}/colima-config/default/colima.yaml";
26-
# FIXME: This home directory should be computed (home.homeDirectory?)
2726
programs.ssh.extraConfig = ''
28-
Include /Users/doomhammer/.config/colima/ssh_config
27+
Include ${config.home.homeDirectory}/.config/colima/ssh_config
2928
'';
3029
}

0 commit comments

Comments
 (0)