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": {
"nix-darwin": "nix-darwin",
"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.inputs.nixpkgs.follows = "nixpkgs";
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, ... }:
let
mkDarwin = { profile, user, system ? "aarch-64-dawin" }:
nix-darwin.lib.darwinSystem {
specialArgs = { inherit user system; };
specialArgs = { inherit inputs user system; };
modules = [
./modules
./profiles/${profile}

View File

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