beginning of bigger restructure, m3ta-nixpkgs input
This commit is contained in:
@@ -6,22 +6,25 @@
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
(import
|
||||
../../modules/home-manager/zellij-ps.nix)
|
||||
inputs.nix-colors.homeManagerModules.default
|
||||
inputs.m3ta-nixpkgs.homeManagerModules.default
|
||||
]; #imports = builtins.attrValues outputs.homeManagerModules;
|
||||
nixpkgs = {
|
||||
# You can add overlays here
|
||||
overlays = [
|
||||
# Add overlays your own flake exports (from overlays and pkgs dir):
|
||||
outputs.overlays.additions
|
||||
outputs.overlays.modifications
|
||||
#outputs.overlays.additions
|
||||
#outputs.overlays.modifications
|
||||
outputs.overlays.temp-packages
|
||||
outputs.overlays.stable-packages
|
||||
outputs.overlays.locked-packages
|
||||
outputs.overlays.pinned-packages
|
||||
outputs.overlays.master-packages
|
||||
|
||||
inputs.nur.overlays.default
|
||||
inputs.m3ta-nixpkgs.overlays.default
|
||||
inputs.m3ta-nixpkgs.overlays.modifications
|
||||
|
||||
# You can also add overlays exported from other flakes:
|
||||
# neovim-nightly-overlay.overlays.default
|
||||
|
||||
|
@@ -26,15 +26,15 @@
|
||||
enableNushellIntegration = true;
|
||||
};
|
||||
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
vimdiffAlias = true;
|
||||
withNodeJs = true;
|
||||
withPython3 = true;
|
||||
};
|
||||
# programs.neovim = {
|
||||
# enable = true;
|
||||
# defaultEditor = true;
|
||||
# viAlias = true;
|
||||
# vimAlias = true;
|
||||
# vimdiffAlias = true;
|
||||
# withNodeJs = true;
|
||||
# withPython3 = true;
|
||||
# };
|
||||
|
||||
programs.bat = {
|
||||
enable = true;
|
||||
|
@@ -3,7 +3,7 @@
|
||||
devpod
|
||||
#devpod-desktop
|
||||
code2prompt
|
||||
crush
|
||||
nur.repos.charmbracelet.crush
|
||||
(python3.withPackages (ps:
|
||||
with ps; [
|
||||
pip
|
||||
|
@@ -15,122 +15,125 @@ in {
|
||||
bruno
|
||||
insomnia
|
||||
];
|
||||
|
||||
programs.zed-editor = {
|
||||
enable = true;
|
||||
userSettings = {
|
||||
features = {
|
||||
inline_prediction_provider = "zed";
|
||||
edit_prediction_provider = "zed";
|
||||
copilot = false;
|
||||
};
|
||||
telemetry = {
|
||||
metrics = false;
|
||||
};
|
||||
lsp = {
|
||||
rust_analyzer = {
|
||||
binary = {path_lookup = true;};
|
||||
};
|
||||
};
|
||||
languages = {
|
||||
Nix = {
|
||||
language_servers = ["nixd"];
|
||||
formatter = {
|
||||
external = {
|
||||
command = "alejandra";
|
||||
arguments = ["-q" "-"];
|
||||
};
|
||||
};
|
||||
};
|
||||
Python = {
|
||||
language_servers = ["pyrefly"];
|
||||
formatter = {
|
||||
external = {
|
||||
command = "black";
|
||||
arguments = ["-"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
lsp = {
|
||||
"pyrefly" = {
|
||||
command = {
|
||||
path = "pyrefly";
|
||||
args = ["--lsp"];
|
||||
env = {};
|
||||
};
|
||||
settings = {};
|
||||
};
|
||||
};
|
||||
context_servers = {
|
||||
"some-context-server" = {
|
||||
command = {
|
||||
path = "some-command";
|
||||
args = ["arg-1" "arg-2"];
|
||||
env = {};
|
||||
};
|
||||
settings = {};
|
||||
};
|
||||
};
|
||||
assistant = {
|
||||
version = "2";
|
||||
default_model = {
|
||||
provider = "anthropic";
|
||||
model = "Claude 3.7 Sonnet";
|
||||
};
|
||||
};
|
||||
language_models = {
|
||||
anthropic = {
|
||||
version = "1";
|
||||
api_url = "https://api.anthropic.com";
|
||||
};
|
||||
openai = {
|
||||
version = "1";
|
||||
api_url = "https://api.openai.com/v1";
|
||||
};
|
||||
ollama = {
|
||||
api_url = "http://localhost:11434";
|
||||
};
|
||||
};
|
||||
ssh_connections = [
|
||||
{
|
||||
host = "152.53.85.162";
|
||||
nickname = "m3-atlas";
|
||||
args = ["-i" "~/.ssh/m3tam3re"];
|
||||
}
|
||||
{
|
||||
host = "95.217.189.186";
|
||||
port = 2222;
|
||||
nickname = "self-host-playbook";
|
||||
args = ["-i" "~/.ssh/self-host-playbook"];
|
||||
"projects" = [
|
||||
{
|
||||
paths = ["/etc/nixos/current-systemconfig"];
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
host = "192.168.1.152";
|
||||
port = 22;
|
||||
nickname = "m3-daedalus";
|
||||
args = ["-i" "~/.ssh/m3tam3re"];
|
||||
"projects" = [
|
||||
{
|
||||
paths = ["/home/m3tam3re/home-config"];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
auto_update = false;
|
||||
format_on_save = "on";
|
||||
vim_mode = true;
|
||||
load_direnv = "shell_hook";
|
||||
theme = "Dracula";
|
||||
buffer_font_family = "FiraCode Nerd Font";
|
||||
ui_font_size = 16;
|
||||
buffer_font_size = 16;
|
||||
show_edit_predictions = true;
|
||||
};
|
||||
coding.editors = {
|
||||
neovim.enable = true;
|
||||
zed.enable = true;
|
||||
};
|
||||
# programs.zed-editor = {
|
||||
# enable = true;
|
||||
# userSettings = {
|
||||
# features = {
|
||||
# inline_prediction_provider = "zed";
|
||||
# edit_prediction_provider = "zed";
|
||||
# copilot = false;
|
||||
# };
|
||||
# telemetry = {
|
||||
# metrics = false;
|
||||
# };
|
||||
# lsp = {
|
||||
# rust_analyzer = {
|
||||
# binary = {path_lookup = true;};
|
||||
# };
|
||||
# };
|
||||
# languages = {
|
||||
# Nix = {
|
||||
# language_servers = ["nixd"];
|
||||
# formatter = {
|
||||
# external = {
|
||||
# command = "alejandra";
|
||||
# arguments = ["-q" "-"];
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# Python = {
|
||||
# language_servers = ["pyrefly"];
|
||||
# formatter = {
|
||||
# external = {
|
||||
# command = "black";
|
||||
# arguments = ["-"];
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# lsp = {
|
||||
# "pyrefly" = {
|
||||
# command = {
|
||||
# path = "pyrefly";
|
||||
# args = ["--lsp"];
|
||||
# env = {};
|
||||
# };
|
||||
# settings = {};
|
||||
# };
|
||||
# };
|
||||
# context_servers = {
|
||||
# "some-context-server" = {
|
||||
# command = {
|
||||
# path = "some-command";
|
||||
# args = ["arg-1" "arg-2"];
|
||||
# env = {};
|
||||
# };
|
||||
# settings = {};
|
||||
# };
|
||||
# };
|
||||
# assistant = {
|
||||
# version = "2";
|
||||
# default_model = {
|
||||
# provider = "anthropic";
|
||||
# model = "Claude 3.7 Sonnet";
|
||||
# };
|
||||
# };
|
||||
# language_models = {
|
||||
# anthropic = {
|
||||
# version = "1";
|
||||
# api_url = "https://api.anthropic.com";
|
||||
# };
|
||||
# openai = {
|
||||
# version = "1";
|
||||
# api_url = "https://api.openai.com/v1";
|
||||
# };
|
||||
# ollama = {
|
||||
# api_url = "http://localhost:11434";
|
||||
# };
|
||||
# };
|
||||
# ssh_connections = [
|
||||
# {
|
||||
# host = "152.53.85.162";
|
||||
# nickname = "m3-atlas";
|
||||
# args = ["-i" "~/.ssh/m3tam3re"];
|
||||
# }
|
||||
# {
|
||||
# host = "95.217.189.186";
|
||||
# port = 2222;
|
||||
# nickname = "self-host-playbook";
|
||||
# args = ["-i" "~/.ssh/self-host-playbook"];
|
||||
# "projects" = [
|
||||
# {
|
||||
# paths = ["/etc/nixos/current-systemconfig"];
|
||||
# }
|
||||
# ];
|
||||
# }
|
||||
# {
|
||||
# host = "192.168.1.152";
|
||||
# port = 22;
|
||||
# nickname = "m3-daedalus";
|
||||
# args = ["-i" "~/.ssh/m3tam3re"];
|
||||
# "projects" = [
|
||||
# {
|
||||
# paths = ["/home/m3tam3re/home-config"];
|
||||
# }
|
||||
# ];
|
||||
# }
|
||||
# ];
|
||||
# auto_update = false;
|
||||
# format_on_save = "on";
|
||||
# vim_mode = true;
|
||||
# load_direnv = "shell_hook";
|
||||
# theme = "Dracula";
|
||||
# buffer_font_family = "FiraCode Nerd Font";
|
||||
# ui_font_size = 16;
|
||||
# buffer_font_size = 16;
|
||||
# show_edit_predictions = true;
|
||||
# };
|
||||
# };
|
||||
};
|
||||
}
|
||||
|
@@ -143,8 +143,6 @@
|
||||
# gsettings-desktop-schemas
|
||||
# graphviz
|
||||
# ksnip
|
||||
msty
|
||||
msty-sidecar
|
||||
msty-studio
|
||||
nwg-look
|
||||
# pamixer
|
||||
|
@@ -24,7 +24,6 @@
|
||||
# The home.packages option allows you to install Nix packages into your
|
||||
# environment.
|
||||
home.packages = with pkgs; [
|
||||
aider-chat-env
|
||||
libgtop
|
||||
# # Adds the 'hello' command to your environment. It prints a friendly
|
||||
# # "Hello, world!" when run.
|
||||
@@ -178,11 +177,6 @@
|
||||
user = "m3tam3re";
|
||||
identityFile = "~/.ssh/m3tam3re";
|
||||
};
|
||||
"m3-hermes" = {
|
||||
hostname = "95.216.214.142";
|
||||
user = "m3tam3re";
|
||||
identityFile = "~/.ssh/m3tam3re";
|
||||
};
|
||||
"m3-helios" = {
|
||||
hostname = "192.168.178.210";
|
||||
user = "m3tam3re";
|
||||
|
Reference in New Issue
Block a user