mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 16:53:00 +00:00
nix: Add sdcv
This commit is contained in:
parent
608cd05802
commit
a9d8bcb500
16 changed files with 267 additions and 112 deletions
|
|
@ -1,5 +1,6 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
home.packages = with pkgs;
|
||||
[
|
||||
kitty
|
||||
ghostty
|
||||
alacritty
|
||||
|
|
@ -11,8 +12,10 @@
|
|||
pcloud
|
||||
telegram-desktop
|
||||
steam
|
||||
jetbrains.idea-ultimate
|
||||
jetbrains.rider
|
||||
(jetbrains.idea-ultimate.override {
|
||||
vmopts = ''-Dawt.toolkit.name=WLToolkit'';})
|
||||
(jetbrains.rider.override {
|
||||
vmopts = ''-Dawt.toolkit.name=WLToolkit'';})
|
||||
warp-terminal
|
||||
# clash-verge-rev
|
||||
haruna
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
{pkgs, ...}: {
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
profiles.default = {
|
||||
|
|
@ -11,7 +12,7 @@
|
|||
}
|
||||
];
|
||||
icon = "https://archlinux.org/favicon.ico";
|
||||
definedAliases = ["@aw"];
|
||||
definedAliases = [ "@aw" ];
|
||||
};
|
||||
aur = {
|
||||
name = "Arch User Repository";
|
||||
|
|
@ -21,43 +22,43 @@
|
|||
}
|
||||
];
|
||||
icon = "https://archlinux.org/favicon.ico";
|
||||
definedAliases = ["@aur"];
|
||||
definedAliases = [ "@aur" ];
|
||||
};
|
||||
arch-packages = {
|
||||
name = "ArchLinux Packages";
|
||||
urls = [{template = "https://archlinux.org/?q={searchTerms}";}];
|
||||
urls = [ { template = "https://archlinux.org/?q={searchTerms}"; } ];
|
||||
icon = "https://archlinux.org/favicon.ico";
|
||||
definedAliases = ["@pac"];
|
||||
definedAliases = [ "@pac" ];
|
||||
};
|
||||
chatgpt = {
|
||||
name = "ChatGPT";
|
||||
urls = [{template = "https://chatgpt.com/?q={searchTerms}";}];
|
||||
urls = [ { template = "https://chatgpt.com/?q={searchTerms}"; } ];
|
||||
icon = "https://chatgpt.com/favicon.ico";
|
||||
definedAliases = ["@gpt"];
|
||||
definedAliases = [ "@gpt" ];
|
||||
};
|
||||
scoop = {
|
||||
name = "scoop";
|
||||
urls = [{template = "https://scoop.sh/#/apps?q={searchTerms}";}];
|
||||
urls = [ { template = "https://scoop.sh/#/apps?q={searchTerms}"; } ];
|
||||
icon = "https://scoop.sh/favicon.ico";
|
||||
definedAliases = ["@sc"];
|
||||
definedAliases = [ "@sc" ];
|
||||
};
|
||||
perplexity = {
|
||||
name = "Perplexity";
|
||||
urls = [{template = "https://www.perplexity.ai/?q={searchTerms}";}];
|
||||
urls = [ { template = "https://www.perplexity.ai/?q={searchTerms}"; } ];
|
||||
icon = "https://perplexity.ai/favicon.ico";
|
||||
definedAliases = ["@pplx"];
|
||||
definedAliases = [ "@pplx" ];
|
||||
};
|
||||
winget = {
|
||||
name = "Windows Package Manager";
|
||||
urls = [{template = "https://winget.ragerworks.com/search/all/{searchTerms}";}];
|
||||
urls = [ { template = "https://winget.ragerworks.com/search/all/{searchTerms}"; } ];
|
||||
icon = "https://microsoft.com/favicon.ico";
|
||||
definedAliases = ["@win"];
|
||||
definedAliases = [ "@win" ];
|
||||
};
|
||||
github = {
|
||||
name = "GitHub Repository";
|
||||
urls = [{template = "https://github.com/search?type=repositories&q={searchTerms}";}];
|
||||
urls = [ { template = "https://github.com/search?type=repositories&q={searchTerms}"; } ];
|
||||
icon = "https://github.com/favicon.ico";
|
||||
definedAliases = ["@gh"];
|
||||
definedAliases = [ "@gh" ];
|
||||
};
|
||||
};
|
||||
extensions.packages = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@
|
|||
config = {
|
||||
General = {
|
||||
launchers = [
|
||||
"applications:org.kde.dolphin.desktop"
|
||||
# "applications:org.kde.dolphin.desktop"
|
||||
"applications:firefox.desktop"
|
||||
"applications:com.mitchellh.ghostty.desktop"
|
||||
];
|
||||
|
|
@ -131,7 +131,7 @@
|
|||
profiles = {
|
||||
Default = {
|
||||
command = "${pkgs.fish}/bin/fish";
|
||||
colorScheme = "Breeze";
|
||||
colorScheme = "catppuccin-mocha";
|
||||
font = {
|
||||
name = "Maple Mono NF";
|
||||
size = 12;
|
||||
|
|
|
|||
9
nixcfgs/users/js0ny/programs/sdcv.nix
Normal file
9
nixcfgs/users/js0ny/programs/sdcv.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ pkgs }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
sdcv
|
||||
];
|
||||
home.sessionVariables = {
|
||||
STARDICT_DATA_DIR = "$HOME/.local/share/stardict/dic";
|
||||
};
|
||||
}
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
let
|
||||
{...}: let
|
||||
commonAliases = {
|
||||
v = "nvim";
|
||||
g = "lazygit";
|
||||
|
|
@ -8,9 +7,10 @@ let
|
|||
ii = "open";
|
||||
c = "code";
|
||||
aic = "aichat -s";
|
||||
aicc = "aichat -c";
|
||||
nrs = "sudo nixos-rebuild switch --flake ~/.dotfiles/nixcfgs";
|
||||
};
|
||||
in
|
||||
{
|
||||
in {
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
interactiveShellInit = "set fish_greeting";
|
||||
|
|
@ -29,5 +29,5 @@ in
|
|||
enable = true;
|
||||
shellAliases = commonAliases;
|
||||
};
|
||||
programs.zed-editor.extensions = [ "fish" ];
|
||||
programs.zed-editor.extensions = ["fish"];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,20 +4,22 @@
|
|||
nix-flatpak,
|
||||
plasma-manager,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
my-catppuccin-kde = pkgs.catppuccin-kde.override {
|
||||
flavour = [
|
||||
"mocha"
|
||||
"latte"
|
||||
];
|
||||
accents = ["pink"];
|
||||
winDecStyles = ["classic"];
|
||||
accents = [ "pink" ];
|
||||
winDecStyles = [ "classic" ];
|
||||
};
|
||||
my-catppuccin-gtk = pkgs.catppuccin-gtk.override {
|
||||
accents = ["pink"];
|
||||
accents = [ "pink" ];
|
||||
variant = "mocha";
|
||||
};
|
||||
in {
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./default.nix
|
||||
./packages/cli.nix
|
||||
|
|
@ -33,6 +35,7 @@ in {
|
|||
./programs/firefox.nix
|
||||
./programs/distrobox.nix
|
||||
./programs/mime.nix
|
||||
./programs/sdcv.nix
|
||||
./programs/zed-editor.nix
|
||||
# ./programs/floorp.nix
|
||||
../../modules/home/gnome-keyrings.nix
|
||||
|
|
@ -55,6 +58,8 @@ in {
|
|||
my-catppuccin-gtk
|
||||
my-catppuccin-kde
|
||||
catppuccin-fcitx5
|
||||
freerdp
|
||||
winboat
|
||||
];
|
||||
|
||||
home.stateVersion = "25.05";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue