45 lines
828 B
Nix
45 lines
828 B
Nix
{ pkgs, lib, inputs, ... }:
|
|
{
|
|
nixpkgs.config.allowUnfree = true;
|
|
nixpkgs.overlays = [ (import ../custom-pkgs { inherit lib inputs; }) ];
|
|
|
|
environment = {
|
|
systemPackages = with pkgs; [
|
|
vim
|
|
wget
|
|
curl
|
|
htop
|
|
tmux
|
|
libimobiledevice
|
|
ripgrep
|
|
fd
|
|
];
|
|
|
|
pathsToLink = [ "/share/zsh" ];
|
|
};
|
|
|
|
services = {
|
|
tailscale = {
|
|
enable = true;
|
|
useRoutingFeatures = "client";
|
|
};
|
|
|
|
ollama = {
|
|
enable = false; # FIXME: https://github.com/NixOS/nixpkgs/issues/376930
|
|
acceleration = "rocm";
|
|
environmentVariables = {
|
|
HSA_OVERRIDE_GFX_VERSION = "11.0.3";
|
|
};
|
|
};
|
|
};
|
|
|
|
programs = {
|
|
zsh.enable = true;
|
|
_1password-gui = {
|
|
enable = true;
|
|
polkitPolicyOwners = [ "moco" ];
|
|
};
|
|
_1password.enable = true;
|
|
};
|
|
}
|