This commit is contained in:
4DBug
2026-08-22 21:46:30 -05:00
parent 022d4ab1af
commit cbbd94a130
8 changed files with 184 additions and 30 deletions
+6 -3
View File
@@ -1,7 +1,10 @@
{ inputs, ...}: {
den.aspects.nix7 = {
nixos = { pkgs, lib, ...}: {
packages.niri = inputs.wrapper-modules.wrappers.niri.wrap {
den.aspects.niri = {
homeManager = { pkgs, lib, ...}: {
imports = [ inputs.niri.nixosModules.niri ];
programs.niri = {
enable = true;
settings = {
input.keyboard = {
xkb.layout = "us,ua";
+2
View File
@@ -16,6 +16,8 @@
neu
#nix7
#niri
];
nixos = {
+2
View File
@@ -1,6 +1,8 @@
{
den.aspects.fish = {
nixos = { pkgs, ...}: {
environment.sessionVariables.SHELL = "${pkgs.fish}";
programs.fish = {
shellAliases = {
fetch = "fastfetch --file ~/nix/nix.ans";
+25
View File
@@ -0,0 +1,25 @@
{ pkgs, lib, ... }:
let
opencode-json = pkgs.writeText "opencode.json" (builtins.toJSON {
"$schema" = "https://opencode.ai/config.json";
plugin = [ "opencode-plugin-llama.cpp@latest" ];
provider = {
llama.cpp = {
npm = "@ai-sdk/openai-compatible";
name = "llama.cpp";
options.baseURL = "https://llama.bug.tools/v1";
models.qwen3.6-35b-a3b.name = "qwen3.6-35b-a3b";
};
};
});
in {
den.aspects.opencode = {
nixos = { ... }: {
# opencode config: ${opencode-json}
};
home-manager = { ... }: {
home.file.".config/opencode/opencode.json".source = opencode-json;
};
};
}
+1
View File
@@ -7,6 +7,7 @@
den.aspects.librewolf
den.aspects.catppuccin
#den.provides.home-manager
#den.aspects.niri
];
homeManager = {