added rusty-pw as global

This commit is contained in:
2026-11-09 18:39:27 -05:00
parent d8ebcad70c
commit 9542e348cd
3 changed files with 34 additions and 3 deletions

23
flake.lock generated
View File

@@ -76,7 +76,28 @@
"inputs": { "inputs": {
"nix-darwin": "nix-darwin", "nix-darwin": "nix-darwin",
"nix-homebrew": "nix-homebrew", "nix-homebrew": "nix-homebrew",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs",
"rusty-pw": "rusty-pw"
}
},
"rusty-pw": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1792878430,
"narHash": "sha256-SZm2FqJr6tWrDdoEBa1+WUmSQZn514uXulM9opozoQ8=",
"ref": "refs/heads/main",
"rev": "d8faadac139e0856c6730cf9f5fcc74383362bef",
"revCount": 13,
"type": "git",
"url": "https://git.briannelson.dev/brian/rusty-pw"
},
"original": {
"type": "git",
"url": "https://git.briannelson.dev/brian/rusty-pw"
} }
} }
}, },

View File

@@ -6,13 +6,18 @@
nix-darwin.url = "github:nix-darwin/nix-darwin/nix-darwin-26.05"; nix-darwin.url = "github:nix-darwin/nix-darwin/nix-darwin-26.05";
nix-darwin.inputs.nixpkgs.follows = "nixpkgs"; nix-darwin.inputs.nixpkgs.follows = "nixpkgs";
nix-homebrew.url = "github:zhaofengli/nix-homebrew"; nix-homebrew.url = "github:zhaofengli/nix-homebrew";
rusty-pw = {
url = "git+https://git.briannelson.dev/brian/rusty-pw";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = inputs@{ self, nix-darwin, nixpkgs, nix-homebrew, ... }: outputs = inputs@{ self, nix-darwin, nixpkgs, nix-homebrew, ... }:
let let
mkDarwin = { profile, user, system ? "aarch-64-dawin" }: mkDarwin = { profile, user, system ? "aarch-64-dawin" }:
nix-darwin.lib.darwinSystem { nix-darwin.lib.darwinSystem {
specialArgs = { inherit user system; }; specialArgs = { inherit inputs user system; };
modules = [ modules = [
./modules ./modules
./profiles/${profile} ./profiles/${profile}

View File

@@ -1,4 +1,4 @@
{ pkgs, ... }: { inputs, pkgs, ... }:
{ {
# This file installs these apps on all configurations # This file installs these apps on all configurations
@@ -12,11 +12,16 @@
archiveApps = []; archiveApps = [];
nixpkgs.overlays = [
inputs.rusty-pw.overlays.default
];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
exif exif
exiftool exiftool
git git
helix helix
rusty-pw
]; ];
homebrew.brews = [ homebrew.brews = [