Compare commits
No commits in common. "ee9b522fac72f7dbcdb156323e812793a29b378c" and "7a987c6ddd08adcea6604d4f3b6c04cb7243f275" have entirely different histories.
ee9b522fac
...
7a987c6ddd
|
|
@ -42,6 +42,8 @@ in {
|
||||||
# Install packages
|
# Install packages
|
||||||
home.packages = with pkgs;
|
home.packages = with pkgs;
|
||||||
let
|
let
|
||||||
|
xdg-terminal-exec =
|
||||||
|
callPackage ../../pkgs/xdg-terminal-exec/xdg-terminal-exec.nix { };
|
||||||
mons = callPackage ../../pkgs/mons/mons.nix { };
|
mons = callPackage ../../pkgs/mons/mons.nix { };
|
||||||
archivo = callPackage ../../pkgs/archivo/archivo.nix { };
|
archivo = callPackage ../../pkgs/archivo/archivo.nix { };
|
||||||
highway-gothic = callPackage ../../pkgs/highway-gothic/highway-gothic.nix { };
|
highway-gothic = callPackage ../../pkgs/highway-gothic/highway-gothic.nix { };
|
||||||
|
|
@ -50,20 +52,20 @@ in {
|
||||||
[ marksman nil ] ++ # Language servers except those installed through package sections
|
[ marksman nil ] ++ # Language servers except those installed through package sections
|
||||||
[ texliveFull texlab ] ++ # LaTeX
|
[ texliveFull texlab ] ++ # LaTeX
|
||||||
[ typst typstyle tinymist ] ++ # Typst
|
[ typst typstyle tinymist ] ++ # Typst
|
||||||
# (with ocamlPackages; [
|
(with ocamlPackages; [
|
||||||
# ocaml
|
ocaml
|
||||||
# opam
|
opam
|
||||||
# dune_3
|
dune_3
|
||||||
# dune-release
|
dune-release
|
||||||
# merlin
|
merlin
|
||||||
# ocaml-lsp
|
ocaml-lsp
|
||||||
# odoc
|
odoc
|
||||||
# ocamlformat
|
ocamlformat
|
||||||
# utop
|
utop
|
||||||
# ]) ++ # OCaml
|
]) ++ # OCaml
|
||||||
# [ rustup ] ++ # Rust
|
[ rustup ] ++ # Rust
|
||||||
# [ go gopls ] ++ # Golang
|
[ go gopls ] ++ # Golang
|
||||||
# (with elmPackages; [ elm elm-language-server elm-format elm-test ]) ++
|
(with elmPackages; [ elm elm-language-server elm-format elm-test ]) ++
|
||||||
[ python3 ] ++ # I guess.....
|
[ python3 ] ++ # I guess.....
|
||||||
[
|
[
|
||||||
kak-lsp
|
kak-lsp
|
||||||
|
|
@ -71,14 +73,19 @@ in {
|
||||||
grim
|
grim
|
||||||
slurp
|
slurp
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
|
jq
|
||||||
|
xdg-terminal-exec
|
||||||
blueman
|
blueman
|
||||||
upower
|
upower
|
||||||
glib # provides trash and mount (latter may supplant udisks2?)
|
proselint # for prose lint
|
||||||
|
glib
|
||||||
] ++ # Basic utilities
|
] ++ # Basic utilities
|
||||||
[ bitwarden-cli htop snore hledger hledger-ui clifm ]
|
[ bitwarden-cli htop snore hledger hledger-ui clifm ]
|
||||||
++ # Personalized selection of command-line (CLI/TUI) apps
|
++ # Personalized selection of command-line (CLI/TUI) apps
|
||||||
[ terminal ] ++ # Terminal emulator
|
[ terminal ] ++ # Terminal emulator
|
||||||
[
|
[
|
||||||
|
qutebrowser
|
||||||
|
zathura
|
||||||
evince
|
evince
|
||||||
imv
|
imv
|
||||||
vlc
|
vlc
|
||||||
|
|
@ -100,9 +107,8 @@ in {
|
||||||
filezilla
|
filezilla
|
||||||
bitwarden
|
bitwarden
|
||||||
josm
|
josm
|
||||||
activate-linux
|
|
||||||
] ++ # Personalized selection of graphical apps
|
] ++ # Personalized selection of graphical apps
|
||||||
[ olympus shticker-book-unwritten ] ++ # Games
|
[ mons shticker-book-unwritten ] ++ # Games
|
||||||
[ swaybg bemenu j4-dmenu-desktop ] ++ # Sway- and Wayland-related packages
|
[ swaybg bemenu j4-dmenu-desktop ] ++ # Sway- and Wayland-related packages
|
||||||
[
|
[
|
||||||
noto-fonts
|
noto-fonts
|
||||||
|
|
@ -119,7 +125,7 @@ in {
|
||||||
] ++ # Fonts
|
] ++ # Fonts
|
||||||
# [ papirus-icon-theme ] ++ # Icons
|
# [ papirus-icon-theme ] ++ # Icons
|
||||||
# [ vanilla-dmz ] ++ # Cursor
|
# [ vanilla-dmz ] ++ # Cursor
|
||||||
[ ] ++ # Temp
|
[ activate-linux android-studio olympus ] ++ # Temp
|
||||||
[ ];
|
[ ];
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
@ -153,10 +159,13 @@ in {
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Fixes electron apps
|
# Fixes electron apps and also nnn
|
||||||
home.sessionVariables =
|
home.sessionVariables =
|
||||||
{
|
let detachedtext = pkgs.writeShellScript "detachedtext"
|
||||||
|
(builtins.readFile "${scripts}/detachedtext.sh");
|
||||||
|
in {
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
|
VISUAL = detachedtext;
|
||||||
};
|
};
|
||||||
|
|
||||||
# configure fonts correctly
|
# configure fonts correctly
|
||||||
|
|
@ -164,9 +173,16 @@ in {
|
||||||
xdg.configFile."fontconfig/conf.d/20-default.fonts.conf".source =
|
xdg.configFile."fontconfig/conf.d/20-default.fonts.conf".source =
|
||||||
"${extra}/20-default-fonts.conf";
|
"${extra}/20-default-fonts.conf";
|
||||||
|
|
||||||
|
# fix nemo terminal integration
|
||||||
|
# dconf.settings."org/cinnamon/desktop/applications/terminal".exec =
|
||||||
|
# "${pkgs.lib.getExe terminal}";
|
||||||
|
# dconf.settings."org/cinnamon/desktop/applications/terminal".exec-arg = "-e --cwd %F";
|
||||||
|
|
||||||
# terminal emulator
|
# terminal emulator
|
||||||
programs.alacritty.enable = true;
|
programs.alacritty.enable = true;
|
||||||
|
|
||||||
|
# programs.neovim = import ./programs/neovim.nix;
|
||||||
|
|
||||||
programs.kakoune = import ../../programs/kakoune.nix pkgs;
|
programs.kakoune = import ../../programs/kakoune.nix pkgs;
|
||||||
xdg.configFile."kak-lsp/kak-lsp.toml".source =
|
xdg.configFile."kak-lsp/kak-lsp.toml".source =
|
||||||
../../programs/kakoune/kak-lsp.toml;
|
../../programs/kakoune/kak-lsp.toml;
|
||||||
|
|
@ -198,9 +214,31 @@ in {
|
||||||
categories = [ "Utility" "TextEditor" ];
|
categories = [ "Utility" "TextEditor" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.zathura = {
|
programs.nnn = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
plugins = {
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "jarun";
|
||||||
|
repo = "nnn";
|
||||||
|
rev = "v4.9";
|
||||||
|
hash = "sha256-g19uI36HyzTF2YUQKFP4DE2ZBsArGryVHhX79Y0XzhU=";
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
xdg.desktopEntries.nnn = {
|
||||||
|
name = "nnn";
|
||||||
|
genericName = "File Manager";
|
||||||
|
comment = "Terminal file manager";
|
||||||
|
exec = "env NNN_TRASH=2 nnn -Adex";
|
||||||
|
terminal = true;
|
||||||
|
mimeType = [ "inode/directory" ];
|
||||||
|
categories = [ "System" "FileTools" "FileManager" "ConsoleOnly" ];
|
||||||
|
settings.Keywords = "File;Manager;Management;Explorer;Launcher";
|
||||||
|
};
|
||||||
|
|
||||||
|
# programs.zathura = {
|
||||||
|
# enable = true;
|
||||||
|
# };
|
||||||
|
|
||||||
programs.pandoc = { enable = true; };
|
programs.pandoc = { enable = true; };
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue