Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
605bd8e6e8 | ||
|
|
1cbab3e494 | ||
|
|
aeac1ff44b |
No files matched your search
@@ -16,6 +16,7 @@
|
||||
helix
|
||||
bluetui
|
||||
fastfetch
|
||||
thunderbird
|
||||
];
|
||||
|
||||
fonts = {
|
||||
|
||||
@@ -21,7 +21,16 @@ let
|
||||
in {
|
||||
imports = lib.optional (host != null && builtins.pathExists ../../host/${host.name}/modules/hyprland.nix) ../../host/${host.name}/modules/hyprland.nix;
|
||||
|
||||
home.packages = with pkgs; [ ghostty pamixer wofi clipse wl-clipboard wl-clip-persist xclip ];
|
||||
home.packages = with pkgs; [
|
||||
wallpaper_changer
|
||||
ghostty
|
||||
pamixer
|
||||
wofi
|
||||
clipse
|
||||
wl-clipboard
|
||||
wl-clip-persist
|
||||
xclip
|
||||
];
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
configType = "lua";
|
||||
@@ -88,6 +97,7 @@ in {
|
||||
(hyprLua.bind "SUPER + E" (hyprLua.exec "ghostty -e sh -c yazi"))
|
||||
(hyprLua.bind "SUPER + F" "hl.dsp.window.float({ action = \"toggle\" })")
|
||||
(hyprLua.bind "SUPER + J" "hl.dsp.layout(\"togglesplit\")")
|
||||
(hyprLua.bind "SUPER + W" (hyprLua.exec "${lib.getExe wallpaper_changer}"))
|
||||
(hyprLua.bind "SUPER + LEFT" "hl.dsp.focus({ direction = \"${direction.left}\" })")
|
||||
(hyprLua.bind "SUPER + RIGHT" "hl.dsp.focus({ direction = \"${direction.right}\" })")
|
||||
(hyprLua.bind "SUPER + UP" "hl.dsp.focus({ direction = \"${direction.up}\" })")
|
||||
|
||||
@@ -1,4 +1,11 @@
|
||||
{ pkgs, ... }: {
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
free-coding-models = import ./free-coding-models.nix {
|
||||
inherit pkgs;
|
||||
};
|
||||
in
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
#jetbrains.idea-oss
|
||||
android-studio
|
||||
@@ -6,6 +13,7 @@
|
||||
git
|
||||
tree
|
||||
opencode
|
||||
free-coding-models
|
||||
postgresql
|
||||
dbgate
|
||||
];
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
pnpm = pkgs.pnpm_10;
|
||||
in
|
||||
pkgs.stdenv.mkDerivation rec {
|
||||
pname = "free-coding-models";
|
||||
version = "0.5.97";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "vava-nessa";
|
||||
repo = "free-coding-models";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-1jjEBKoNUslrJEDNuqEQ7dHHiecJ3urOdH7MRrdhD1E=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkgs.nodejs
|
||||
pkgs.makeWrapper
|
||||
pkgs.pnpmConfigHook
|
||||
pnpm
|
||||
];
|
||||
|
||||
pnpmDeps = pkgs.fetchPnpmDeps {
|
||||
inherit pname version src pnpm;
|
||||
|
||||
fetcherVersion = 4;
|
||||
|
||||
hash = "sha256-TYOXu2XAdoLqbJPB8idemkWcxahs4+Z6UXAnh3+C47o=";
|
||||
};
|
||||
|
||||
dontNpmBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/lib/node_modules/free-coding-models
|
||||
cp -r . $out/lib/node_modules/free-coding-models
|
||||
|
||||
mkdir -p $out/bin
|
||||
ln -s $out/lib/node_modules/free-coding-models/bin/free-coding-models.js \
|
||||
$out/bin/free-coding-models
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/free-coding-models \
|
||||
--prefix PATH : ${pkgs.lib.makeBinPath [ pkgs.nodejs ]}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Find, benchmark and install free coding LLM models";
|
||||
homepage = "https://github.com/vava-nessa/free-coding-models";
|
||||
license = pkgs.lib.licenses.mit;
|
||||
mainProgram = "free-coding-models";
|
||||
};
|
||||
}
|
||||
@@ -88,7 +88,7 @@
|
||||
openWayBar = "vim .config/f/home-manager/data/waybar.nix";
|
||||
rebuildFlake = "sudo nixos-rebuild switch --flake /home/kirill/.config/f --impure";
|
||||
openFlake = "vim /home/kirill/.config/f/flake.nix";
|
||||
swichWalls = "python3 /nix/store/6czqsnf0gbvvm472lipndyg34qhnfpis-wallpaper_changer/bin/wallpaper_changer";
|
||||
swichWalls = "wallpaper_changer";
|
||||
screenshot_f="grimblast save screen ~/screenshot_$(date +\%Y-\%m-\%d_\%H-\%M-\%S).png";
|
||||
screenshot="grimblast save area ~/screenshot_$(date +\%Y-\%m-\%d_\%H-\%M-\%S).png";
|
||||
screenshot_c = "grimblast copy area";
|
||||
|
||||
Reference in new issue
Block a user