Add homebrew package to flake
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
home.stateVersion = "22.05";
|
||||
home.packages = with pkgs; [
|
||||
bitwarden-cli
|
||||
brew
|
||||
diffutils
|
||||
findutils
|
||||
git
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# vim: set ft=python:
|
||||
from os import getcwd, uname
|
||||
from pathlib import Path
|
||||
from sys import platform
|
||||
|
||||
|
||||
#if uname().sysname == 'Darwin' and ('__NIX_DARWIN_SET_ENVIRONMENT_DONE' not in ${...} or not $__NIX_DARWIN_SET_ENVIRONMENT_DONE):
|
||||
@@ -19,3 +20,6 @@ xontrib load coreutils
|
||||
$PATH.insert(0, Path("~/.nix-profile/bin").expanduser())
|
||||
$PATH.insert(0, Path("~/src/bin").expanduser())
|
||||
$PATH.insert(0, Path("~/.local/bin").expanduser())
|
||||
|
||||
if platform == "darwin":
|
||||
$PATH.append(Path("/opt/homebrew/bin/"))
|
||||
|
||||
Reference in New Issue
Block a user