packages: Add polylux and pdfpc

This commit is contained in:
DashieTM 2024-07-01 16:29:51 +02:00
parent b9c687d62e
commit 7e65c8e62a
22 changed files with 506 additions and 164 deletions

View file

@ -40,7 +40,7 @@
mdformat
#bash
nodePackages.bash-language-server
bash-language-server
shfmt
#fsharp

View file

@ -23,6 +23,7 @@ in
fd
lsd
(pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
noto-fonts
flatpak
networkmanager
zoxide
@ -50,6 +51,7 @@ in
sops
flake-checker
ffmpeg
system-config-printer
(callPackage
../override/streamdeck.nix
{ })
@ -65,11 +67,18 @@ in
programs.oxishut.enable = true;
programs.oxipaste.enable = true;
programs.hyprdock.enable = true;
programs.reset.enable = true;
programs.reset.config.plugins = [
programs.ReSet.enable = true;
programs.ReSet.config.plugins = [
inputs.reset-plugins.packages."x86_64-linux".monitor
inputs.reset-plugins.packages."x86_64-linux".keyboard
];
# inputs.reset-plugins.packages#.keyboard_plugin
programs.ReSet.config.plugin_config = {
Keyboard = {
path = "/home/dashie/.config/reset/keyboard.conf";
};
};
nixpkgs.config.allowUnfree = true;

View file

@ -7,6 +7,7 @@
wayland.windowManager.hyprland.enable = true;
wayland.windowManager.hyprland.settings = {
"$mod" = "SUPER";
"source" = "/home/dashie/.config/reset/keyboard.conf";
bindm = [
"$mod, mouse:272, movewindow"
@ -151,7 +152,7 @@
};
input = {
kb_layout = "dashie";
#kb_layout = "dashie";
repeat_delay = 200;
force_no_accel = true;
touchpad = {
@ -162,7 +163,6 @@
};
misc = {
vrr = 1;
animate_manual_resizes = 1;
enable_swallow = true;
disable_splash_rendering = true;
@ -247,15 +247,15 @@
"oxinoti"
] ++ config.programs.hyprland.extra_autostart;
#plugin = {
# hyprspace = {
# bind = [
# "SUPER, W, overview:toggle, toggle"
# ];
# };
#};
# plugin = {
# hyprspace = {
# bind = [
# "SUPER, W, overview:toggle, toggle"
# ];
# };
# };
};
#wayland.windowManager.hyprland.plugins = [
# inputs.Hyprspace.packages.${pkgs.system}.Hyprspace
#];
# wayland.windowManager.hyprland.plugins = [
# inputs.Hyprspace.packages.${pkgs.system}.Hyprspace
# ];
}

View file

@ -20,6 +20,7 @@
copyq
gnome.nautilus
gnome.sushi
gnome.nautilus-python
wl-clipboard
hyprcursor
hyprpaper

View file

@ -1,4 +1,4 @@
{ inputs, pkgs, ... }: {
{ pkgs, ... }: {
programs.firefox = {
enable = true;

View file

@ -16,6 +16,8 @@
libreoffice-fresh
onlyoffice-bin
pdftk
pdfpc
polylux2pdfpc
# spotify
#ncspot
# video editing

View file

@ -22,7 +22,7 @@
nixpkgs-fmt
crate2nix
ruff-lsp
nodePackages.pyright
pyright
lemminx
marksman
clang-tools_18
@ -42,12 +42,15 @@
cmp-nvim-lsp
cmp-path
cmp_luasnip
cmp-async-path
conform-nvim
dashboard-nvim
dressing-nvim
flash-nvim
friendly-snippets
gitsigns-nvim
git-conflict-nvim
ltex_extra-nvim
indent-blankline-nvim
lualine-nvim
neo-tree-nvim
@ -56,6 +59,12 @@
noice-nvim
nui-nvim
nvim-cmp
nvim-dap
nvim-dap-ui
nvim-dap-python
nvim-dap-go
nvim-dap-virtual-text
nvim-nio
nvim-lint
nvim-lspconfig
nvim-notify
@ -67,6 +76,22 @@
nvim-ts-context-commentstring
nvim-web-devicons
nvim-jdtls
rustaceanvim
typst-vim
instant-nvim
git-blame-nvim
neoscroll-nvim
mason-nvim
neotest
neotest-zig
neotest-python
neotest-rust
neotest-java
neotest-haskell
neotest-go
neotest-dotnet
neotest-bash
neotest-dart
omnisharp-extended-lsp-nvim
neotest
neotest-java
@ -75,7 +100,23 @@
plenary-nvim
telescope-fzf-native-nvim
telescope-nvim
telescope-zoxide
telescope-file-browser-nvim
telescope-project-nvim
todo-comments-nvim
vimtex
inc-rename-nvim
headlines-nvim
diffview-nvim
crates-nvim
cmake-tools-nvim
clangd_extensions-nvim
alpha-nvim
vim-visual-multi
ts-comments-nvim
nvim-tree-lua
nvim-snippets
markdown-preview-nvim
tokyonight-nvim
trouble-nvim
vim-illuminate
@ -84,7 +125,6 @@
haskell-tools-nvim
Ionide-vim
{ name = "LuaSnip"; path = luasnip; }
#{ name = "catppuccin"; path = catppuccin-nvim; }
{ name = "mini.ai"; path = mini-nvim; }
{ name = "mini.bufremove"; path = mini-nvim; }
{ name = "mini.comment"; path = mini-nvim; }
@ -131,8 +171,8 @@
{ import = "lazyvim.plugins.extras.lang.java" },
{ import = "lazyvim.plugins.extras.lang.go" },
{ import = "lazyvim.plugins.extras.lang.clangd" },
{ import = "lazyvim.plugins.extras.lang.typescript" },
{ import = "lazyvim.plugins.extras.lang.python" },
-- { import = "lazyvim.plugins.extras.lang.typescript" },
-- { import = "lazyvim.plugins.extras.lang.python" },
{ import = "lazyvim.plugins.extras.lang.markdown" },
{ import = "lazyvim.plugins.extras.lang.cmake" },
{ import = "lazyvim.plugins.extras.lang.omnisharp" },
@ -145,7 +185,7 @@
{ "williamboman/mason-lspconfig.nvim", enabled = false },
--{ "williamboman/mason.nvim", enabled = false },
-- treesitter handled by xdg.configFile."nvim/parser", put this line at the end of spec to clear ensure_installed
{ "nvim-treesitter/nvim-treesitter", opts = { ensure_installed = {} } },
--{ "nvim-treesitter/nvim-treesitter", opts = { ensure_installed = {} } },
{ import = "plugins" },
{ import = "plugins.plugins" },
},

69
nix/programs/nvim/flake.lock generated Normal file
View file

@ -0,0 +1,69 @@
{
"nodes": {
"flake-parts": {
"inputs": {
"nixpkgs-lib": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1717285511,
"narHash": "sha256-iKzJcpdXih14qYVcZ9QC9XuZYnPc6T8YImb6dX166kw=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1717316182,
"narHash": "sha256-Xi0EpZcu39N0eW7apLjFfUOR9y80toyjYizez7J1wMI=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "9b53a10f4c91892f5af87cf55d08fba59ca086af",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "home-manager",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1717196966,
"narHash": "sha256-yZKhxVIKd2lsbOqYd5iDoUIwsRZFqE87smE2Vzf6Ck0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "57610d2f8f0937f39dbd72251e9614b1561942d8",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"flake-parts": "flake-parts",
"home-manager": "home-manager",
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

View file

@ -0,0 +1,31 @@
{
description = "Dashies neovim config";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
};
outputs =
{ ...
}@inputs:
let
pkgs = import inputs.nixpkgs {
system = "x86_64-linux";
overlays = [
inputs.nur.overlay
];
config = {
allowUnfree = true;
};
};
in
{
imports = [ ./default.nix { inherit pkgs; } ];
};
}

View file

@ -5,7 +5,6 @@ local function open_nvim_tree(data)
if not directory then
return
end
print("FUCK")
-- change to the directory
vim.cmd.cd(data.file)

View file

@ -38,7 +38,6 @@ require("lazy").setup({
lazy = true,
version = false,
},
install = { colorscheme = { "tokyonight", "catppuccin-mocha" } },
checker = { enabled = true, notify = false },
change_detection = { enabled = true, notify = false },
performance = {

View file

@ -33,7 +33,6 @@ return {
"FelipeLema/cmp-async-path",
"saadparwaiz1/cmp_luasnip",
"Saecki/crates.nvim",
{ "roobert/tailwindcss-colorizer-cmp.nvim", config = true },
},
opts = function()
vim.api.nvim_set_hl(0, "CmpGhostText", { link = "Comment", default = true })

View file

@ -25,9 +25,6 @@ return {
-- LSP Server Settings
---@type lspconfig.options
servers = {
rust_analyzer = {
mason = false,
},
marksman = {
mason = false,
},

View file

@ -5,7 +5,6 @@ return {
"LazyVim/LazyVim",
opts = {
colorscheme = "tokyonight-night",
-- colorscheme = "catppuccin-mocha",
},
},
{
@ -94,21 +93,26 @@ return {
},
{
"nvim-treesitter/nvim-treesitter",
opts = {
textobjects = {
select = {
enable = true,
lookahead = true,
keymaps = {
-- You can use the capture groups defined in textobjects.scm
["af"] = "@function.outer",
["if"] = "@function.inner",
["ac"] = "@class.outer",
["ic"] = "@class.inner",
config = function(_, _)
local opts = {
ensure_installed = {},
-- parser_install_dir = "~/.config/nvim",
textobjects = {
select = {
enable = true,
lookahead = true,
keymaps = {
-- You can use the capture groups defined in textobjects.scm
["af"] = "@function.outer",
["if"] = "@function.inner",
["ac"] = "@class.outer",
["ic"] = "@class.inner",
},
},
},
},
},
}
require("nvim-treesitter.configs").setup(opts)
end,
},
{
"karb94/neoscroll.nvim",
@ -162,7 +166,7 @@ return {
},
{
"barreiroleo/ltex_extra.nvim",
ft = { "markdown", "tex", "typst", "typ" },
ft = { "tex", "typst", "typ" },
lazy = true,
},
{
@ -256,13 +260,6 @@ return {
},
},
},
{
"DashieTM/test_plugin",
lazy = false,
opts = {
what = 0,
},
},
{
"DreamMaoMao/yazi.nvim",
dependencies = {

View file

@ -1,6 +1,6 @@
{
xdg.configFile."oxinoti/style.css" = {
text =
text = /*css*/
''
@import url("/home/dashie/.config/gtk-3.0/gtk.css");

View file

@ -0,0 +1,154 @@
{
xdg.configFile."kvantum/colors/tokyonight.colors" = {
text =
''
[ColorEffects:Disabled]
Color=56,56,56
ColorAmount=0.15000000000000002
ColorEffect=2
ContrastAmount=0.8
ContrastEffect=1
IntensityAmount=-1
IntensityEffect=2
[ColorEffects:Inactive]
ChangeSelectionColor=true
Color=112,111,110
ColorAmount=0.025
ColorEffect=2
ContrastAmount=0.1
ContrastEffect=2
Enable=false
IntensityAmount=0
IntensityEffect=0
[Colors:Button]
BackgroundAlternate=157,221,203
BackgroundNormal=44,45,55
DecorationFocus=164,185,239
DecorationHover=164,185,239
ForegroundActive=164,185,239
ForegroundInactive=120,124,153
ForegroundLink=164,185,239
ForegroundNegative=226,140,140
ForegroundNeutral=247,193,150
ForegroundNormal=215,218,224
ForegroundPositive=179,225,163
ForegroundVisited=173,142,230
[Colors:Complementary]
BackgroundAlternate=157,221,203
BackgroundNormal=30,30,41
DecorationFocus=164,185,239
DecorationHover=164,185,239
ForegroundActive=164,185,239
ForegroundInactive=110,108,124
ForegroundLink=164,185,239
ForegroundNegative=226,140,140
ForegroundNeutral=247,193,150
ForegroundNormal=215,218,224
ForegroundPositive=179,225,163
ForegroundVisited=198,170,232
[Colors:Header]
BackgroundAlternate=30,30,41
BackgroundNormal=30,30,41
DecorationFocus=164,185,239
DecorationHover=164,185,239
ForegroundActive=164,185,239
ForegroundInactive=110,108,124
ForegroundLink=164,185,239
ForegroundNegative=226,140,140
ForegroundNeutral=247,193,150
ForegroundNormal=215,218,224
ForegroundPositive=179,225,163
ForegroundVisited=198,170,232
[Colors:Header][Inactive]
BackgroundAlternate=49,54,59
BackgroundNormal=22,22,29
DecorationFocus=61,174,233
DecorationHover=61,174,233
ForegroundActive=61,174,233
ForegroundInactive=161,169,177
ForegroundLink=29,153,243
ForegroundNegative=218,68,83
ForegroundNeutral=246,116,0
ForegroundNormal=252,252,252
ForegroundPositive=39,174,96
ForegroundVisited=155,89,182
[Colors:Selection]
BackgroundAlternate=157,221,203
BackgroundNormal=164,187,239
DecorationFocus=30,30,41
DecorationHover=30,30,41
ForegroundActive=21,18,28
ForegroundInactive=120,124,153
ForegroundLink=21,18,28
ForegroundNegative=225,139,139
ForegroundNeutral=247,193,150
ForegroundNormal=20,21,30
ForegroundPositive=179,225,163
ForegroundVisited=173,142,230
[Colors:Tooltip]
BackgroundAlternate=22,22,29
BackgroundNormal=26,27,38
DecorationFocus=164,185,239
DecorationHover=164,185,239
ForegroundActive=164,185,239
ForegroundInactive=120,124,153
ForegroundLink=164,185,239
ForegroundNegative=226,140,140
ForegroundNeutral=247,193,150
ForegroundNormal=215,218,224
ForegroundPositive=179,225,163
ForegroundVisited=173,142,230
[Colors:View]
BackgroundAlternate=22,22,29
BackgroundNormal=26,27,38
DecorationFocus=164,185,239
DecorationHover=164,185,239
ForegroundActive=164,185,239
ForegroundInactive=120,124,153
ForegroundLink=164,185,239
ForegroundNegative=226,140,140
ForegroundNeutral=247,193,150
ForegroundNormal=215,218,224
ForegroundPositive=179,225,163
ForegroundVisited=173,142,230
[Colors:Window]
BackgroundAlternate=22,22,29
BackgroundNormal=26,27,38
DecorationFocus=164,185,239
DecorationHover=164,185,239
ForegroundActive=164,185,239
ForegroundInactive=120,124,153
ForegroundLink=164,185,239
ForegroundNegative=226,140,140
ForegroundNeutral=247,193,150
ForegroundNormal=215,218,224
ForegroundPositive=179,225,163
ForegroundVisited=173,142,230
[General]
ColorScheme=BreezeDark
Name=Tokyo Night
shadeSortColumn=true
[KDE]
contrast=4
[WM]
activeBackground=26,27,38
activeBlend=215,218,224
activeForeground=215,218,224
inactiveBackground=26,27,38
inactiveBlend=110,108,124
inactiveForeground=110,108,124
'';
};
}

View file

@ -30,8 +30,8 @@ in
[Appearance]
color_scheme_path=/home/dashie/.config/qt5ct/colors/tokyonight.conf
custom_palette=true
icon_theme=breeze
standard_dialogs=default
icon_theme=MoreWaita
standard_dialogs=gtk3
style=Breeze
[Fonts]
@ -48,19 +48,13 @@ in
keyboard_scheme=4
menus_have_icons=true
show_shortcuts_in_context_menus=true
stylesheets=/home/dashie/.config/qt5ct/qss/tab.qss
stylesheets=/home/dashie/.config/qt5ct/qss/tab.qss, /nix/store/5713p1pv913a6fsn8j7z6ndikcwikbcd-qt5ct-1.8/share/qt5ct/qss/fusion-fixes.qss, /nix/store/5713p1pv913a6fsn8j7z6ndikcwikbcd-qt5ct-1.8/share/qt5ct/qss/scrollbar-simple.qss, /nix/store/5713p1pv913a6fsn8j7z6ndikcwikbcd-qt5ct-1.8/share/qt5ct/qss/sliders-simple.qss, /nix/store/5713p1pv913a6fsn8j7z6ndikcwikbcd-qt5ct-1.8/share/qt5ct/qss/tooltip-simple.qss, /nix/store/5713p1pv913a6fsn8j7z6ndikcwikbcd-qt5ct-1.8/share/qt5ct/qss/traynotification-simple.qss
toolbutton_style=4
underline_shortcut=0
wheel_scroll_lines=3
[PaletteEditor]
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\n\0\0\0\0\0\0\0\fv\0\0\x2\x10\0\0\n\0\0\0\0\0\0\0\fv\0\0\x2\x10\0\0\0\0\x2\0\0\0\rp\0\0\n\0\0\0\0\0\0\0\fv\0\0\x2\x10)
[QSSEditor]
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x2\x82\0\0\x1\xf2\0\0\0\0\0\0\0\0\0\0\x2\x82\0\0\x1\xf2\0\0\0\x2\x2\0\0\0\n\0\0\0\0\0\0\0\0\0\0\0\x2\x82\0\0\x1\xf2)
[SettingsWindow]
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\n\0\0\0\0\0\0\0\r\x83\0\0\x2\x94\0\0\n\0\0\0\0\0\0\0\fO\0\0\x2\xbf\0\0\0\0\x2\0\0\0\rp\0\0\n\0\0\0\0\0\0\0\r\x83\0\0\x2\x94)
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\n\0\0\0\0\0\0\0\rK\0\0\x5q\0\0\n\0\0\0\0\0\0\0\r[\0\0\x5\x7f\0\0\0\0\x2\0\0\0\rp\0\0\n\0\0\0\0\0\0\0\rK\0\0\x5q)
[Troubleshooting]
force_raster_widgets=1