fix: Some nix stuff
This commit is contained in:
parent
d6e397e831
commit
37b30544c1
2 changed files with 16 additions and 7 deletions
|
@ -9,11 +9,16 @@
|
|||
|
||||
outputs = inputs@{ self, nix-darwin, nixpkgs }:
|
||||
let
|
||||
configuration = { pkgs, ... }: {
|
||||
configuration = { pkgs, ... }: let
|
||||
python = pkgs.python310Full.override {
|
||||
# FIXME: Build failed, maybe override postInstall instead?
|
||||
#enableFramework = true;
|
||||
};
|
||||
in
|
||||
{
|
||||
# List packages installed in system profile. To search by name, run:
|
||||
# $ nix-env -qaP | grep wget
|
||||
environment.systemPackages =
|
||||
[
|
||||
environment.systemPackages = [
|
||||
pkgs.zsh
|
||||
pkgs.git
|
||||
pkgs.vim
|
||||
|
@ -23,11 +28,12 @@
|
|||
pkgs.pinentry_mac
|
||||
pkgs.gnupg
|
||||
pkgs.htop-vim
|
||||
pkgs.poetry
|
||||
pkgs.python310Full
|
||||
python
|
||||
# FIXME: Build failed, dnspython pytest keep returning FAILED caused by timeout. Maybe find a way to bypass check for them
|
||||
# (pkgs.poetry.override { python3 = python; })
|
||||
pkgs.python310Packages.pip
|
||||
pkgs.python310Packages.tkinter
|
||||
pkgs.pfetch
|
||||
pkgs.fastfetch
|
||||
pkgs.eza
|
||||
pkgs.lf
|
||||
pkgs.wimlib
|
||||
|
@ -62,6 +68,8 @@
|
|||
};
|
||||
in
|
||||
{
|
||||
# TODO: Split configurations
|
||||
|
||||
# Build darwin flake using:
|
||||
# $ darwin-rebuild build --flake .#ThiccBook-Pro
|
||||
darwinConfigurations."ThiccBook-Pro" = nix-darwin.lib.darwinSystem {
|
||||
|
@ -72,3 +80,4 @@
|
|||
darwinPackages = self.darwinConfigurations."ThiccBook-Pro".pkgs;
|
||||
};
|
||||
}
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue