Compare commits
49 Commits
main
...
current_st
| Author | SHA1 | Date |
|---|---|---|
|
|
6aaea6d416 | 5 months ago |
|
|
c579566ae1 | 5 months ago |
|
|
9046f3d02a | 8 months ago |
|
|
a377905297 | 1 year ago |
|
|
e8bde7a3bf | 1 year ago |
|
|
73e71df821 | 1 year ago |
|
|
44e64ef028 | 1 year ago |
|
|
b14e9bb8aa | 1 year ago |
|
|
40133957c4 | 1 year ago |
|
|
2a3ca89e60 | 1 year ago |
|
|
72b3c77574 | 1 year ago |
|
|
87c58b3eb4 | 1 year ago |
|
|
7c3a5a4312 | 1 year ago |
|
|
9dd273472f | 1 year ago |
|
|
667fc59251 | 1 year ago |
|
|
e8b3b461f4 | 2 years ago |
|
|
f5d88a6c9c | 2 years ago |
|
|
2e9d54721c | 2 years ago |
|
|
4fdbb8d3cf | 2 years ago |
|
|
9263b0c709 | 2 years ago |
|
|
4a0a95ea22 | 2 years ago |
|
|
9eb5615307 | 2 years ago |
|
|
da2c407497 | 2 years ago |
|
|
c083ba1f28 | 2 years ago |
|
|
14a6db1451 | 2 years ago |
|
|
9b2ee6b67f | 2 years ago |
|
|
c9ac46e1a3 | 2 years ago |
|
|
6ba096b77b | 2 years ago |
|
|
d5d58d3054 | 2 years ago |
|
|
af01d9880d | 2 years ago |
|
|
57fcd0549f | 2 years ago |
|
|
fa0f99d8f2 | 2 years ago |
|
|
f689a633ae | 2 years ago |
|
|
f9e22f4781 | 2 years ago |
|
|
50f70e6f0d | 2 years ago |
|
|
3ffbf3096e | 2 years ago |
|
|
792fde1201 | 2 years ago |
|
|
8de90abbfa | 2 years ago |
|
|
015da00d7d | 2 years ago |
|
|
bd593e329e | 2 years ago |
|
|
57694a4207 | 2 years ago |
|
|
f61535d27b | 2 years ago |
|
|
0d0db75c50 | 2 years ago |
|
|
2917702fb2 | 2 years ago |
|
|
cf4d85d19a | 2 years ago |
|
|
ca25ef4696 | 2 years ago |
|
|
f6e569da7c | 2 years ago |
|
|
95a35f977a | 2 years ago |
|
|
9d5576549c | 2 years ago |
|
After Width: | Height: | Size: 2.1 MiB |
|
After Width: | Height: | Size: 1.8 MiB |
|
After Width: | Height: | Size: 2.6 MiB |
@ -0,0 +1,72 @@ |
||||
{ pkgs, ... }: |
||||
{ |
||||
# stolen from: https://github.com/leoperegrino/.files/blob/d996b31a0b1843f05d0f27123196bfa6d0980caa/home-manager/modules/ranger.nix |
||||
programs.ranger = { |
||||
enable = true; |
||||
extraPackages = [ |
||||
pkgs.ueberzugpp |
||||
]; |
||||
extraConfig = "default_linemode devicons"; |
||||
plugins = [ |
||||
{ |
||||
name = "devicons"; |
||||
src = builtins.fetchGit { |
||||
url = "https://github.com/alexanderjeurissen/ranger_devicons.git"; |
||||
rev = "a8d626485ca83719e1d8d5e32289cd96a097c861"; |
||||
}; |
||||
} |
||||
]; |
||||
settings = { |
||||
preview_images_method = "ueberzug"; |
||||
show_hidden = true; |
||||
use_preview_script = true; |
||||
preview_images = true; |
||||
preview_files = true; |
||||
open_all_images = true; |
||||
draw_borders = true; |
||||
hidden_filter = ''^\.|\.(bak|swp)$|^lost\+found$|^__pycache__$''; |
||||
nested_ranger_warning = true; |
||||
colorscheme = "jungle"; |
||||
}; |
||||
# mappings = { |
||||
# "gu" = "cd ~/.local/share"; |
||||
# "gs" = "cd ~/.local/state"; |
||||
# "gf" = "cd ~/.files"; |
||||
# "gV" = "cd ~/.files/nvim/lua/user/"; |
||||
# "gc" = "cd ~/.config"; |
||||
# "gC" = "cd ~/.cache"; |
||||
# "gb" = "cd ~/bin"; |
||||
# "gD" = "cd ~/desktop"; |
||||
# "gd" = "cd ~/documents"; |
||||
# "gm" = "cd ~/music"; |
||||
# "gp" = "cd ~/pictures"; |
||||
# "gv" = "cd ~/videos"; |
||||
# "gU" = "cd /usr/share/"; |
||||
# "gr" = "cd /"; |
||||
# "gt" = "cd /tmp"; |
||||
# "g/r" = "shell sudo ranger ."; |
||||
|
||||
# "ev" = ''shell "''${EDITOR}" -- %s''; |
||||
# "eV" = ''console shell "''${EDITOR}" --%space''; |
||||
# "et" = ''shell "''${EDITOR}" -p -- %s''; |
||||
# "eT" = ''console shell "''${EDITOR}" -p -- %s%space''; |
||||
# "es" = ''shell "''${EDITOR}" -O -- %s''; |
||||
# "eS" = ''console shell "''${EDITOR}" -O -- %s%space''; |
||||
# "EV" = ''shell sudo "''${EDITOR}" -- %s''; |
||||
# "V" = ''shell setsid -f alacritty -e zsh -ic "''${EDITOR} -- %s"''; |
||||
# "B" = ''shell setsid -f alacritty -e zsh -ic "''${PAGER} -- %s"''; |
||||
# "<c-o>" = "console touch%space"; |
||||
|
||||
# "CC" = "get_cumulative_size"; |
||||
# "md" = "console mkdir%space"; |
||||
# "cW" = "bulkrename"; |
||||
# "i" = ''shell "''${PAGER}" -- %f''; |
||||
# "v" = "mark_files all=True toggle=True"; |
||||
# "n" = "tab_new"; |
||||
# "b" = ''shell setsid -f "''${TERM}"''; |
||||
# "f" = "console scout -ftse%space"; |
||||
# "<c-j>" = "scroll_preview 1"; |
||||
# "<c-k>" = "scroll_preview -1"; |
||||
# }; |
||||
}; |
||||
} |
||||
@ -0,0 +1,11 @@ |
||||
{ inputs, pkgs, ... }: |
||||
let |
||||
nixpkgsDrvRootPath = inputs.nixpkgs + "/pkgs/applications/editors/vscode"; |
||||
in |
||||
{ |
||||
nixpkgs.overlays = [ |
||||
{ |
||||
vscodium = pkgs.callPackage ./vscodium-insiders.nix { inherit nixpkgsDrvRootPath; }; |
||||
} |
||||
]; |
||||
} |
||||
@ -0,0 +1,104 @@ |
||||
{ |
||||
lib, |
||||
stdenv, |
||||
callPackage, |
||||
nixpkgsDrvRootPath, |
||||
fetchurl, |
||||
nixosTests, |
||||
commandLineArgs ? "", |
||||
sourceExecutableName ? "codium-insiders", |
||||
useVSCodeRipgrep ? stdenv.hostPlatform.isDarwin, |
||||
}: |
||||
|
||||
let |
||||
inherit (stdenv.hostPlatform) system; |
||||
throwSystem = throw "Unsupported system: ${system}"; |
||||
|
||||
plat = |
||||
{ |
||||
x86_64-linux = "linux-x64"; |
||||
x86_64-darwin = "darwin-x64"; |
||||
aarch64-linux = "linux-arm64"; |
||||
aarch64-darwin = "darwin-arm64"; |
||||
armv7l-linux = "linux-armhf"; |
||||
} |
||||
.${system} or throwSystem; |
||||
|
||||
archive_fmt = if stdenv.hostPlatform.isDarwin then "zip" else "tar.gz"; |
||||
|
||||
hash = |
||||
{ |
||||
x86_64-linux = "sha256-LpLGu8COJ7lk6QoAdmTNG4CMP0aMDNg43A+50Fm1tP4="; |
||||
x86_64-darwin = "sha256-d+8vt5grnLwD/cIIGgb2ogpgZrZLZs+2bqfBrRzLfJw="; |
||||
aarch64-linux = "sha256-D93Eh5TPRgd9OxJ4pWsOryS5mOz2amQOHOnO+K99hAg="; |
||||
aarch64-darwin = "sha256-xKBWAb23jUi8pI7mZpHOP2eF3PZFh0MWj+BM+alKF18="; |
||||
armv7l-linux = "sha256-EqJNi/qMM08voA/Ltle3/28zbgIz/Ae42IE5oXLxcKU="; |
||||
} |
||||
.${system} or throwSystem; |
||||
|
||||
sourceRoot = lib.optionalString (!stdenv.hostPlatform.isDarwin) "."; |
||||
in |
||||
callPackage "${toString nixpkgsDrvRootPath}/generic.nix" rec { |
||||
inherit |
||||
sourceRoot |
||||
commandLineArgs |
||||
useVSCodeRipgrep |
||||
sourceExecutableName |
||||
; |
||||
|
||||
# Please backport all compatible updates to the stable release. |
||||
# This is important for the extension ecosystem. |
||||
version = "1.103.05263-insider"; |
||||
pname = "vscodium"; |
||||
|
||||
executableName = "codium-insiders"; |
||||
longName = "VSCodium"; |
||||
shortName = "vscodium"; |
||||
|
||||
src = fetchurl { |
||||
url = "https://github.com/VSCodium/vscodium-insiders/releases/download/${version}/VSCodium-${plat}-${version}.${archive_fmt}"; |
||||
inherit hash; |
||||
}; |
||||
|
||||
tests = nixosTests.vscodium; |
||||
|
||||
updateScript = ./update-vscodium.sh; |
||||
|
||||
# Editing the `codium` binary (and shell scripts) within the app bundle causes the bundle's signature |
||||
# to be invalidated, which prevents launching starting with macOS Ventura, because VSCodium is notarized. |
||||
# See https://eclecticlight.co/2022/06/17/app-security-changes-coming-in-ventura/ for more information. |
||||
dontFixup = stdenv.hostPlatform.isDarwin; |
||||
|
||||
meta = { |
||||
description = '' |
||||
Open source source code editor developed by Microsoft for Windows, |
||||
Linux and macOS (VS Code without MS branding/telemetry/licensing) |
||||
''; |
||||
longDescription = '' |
||||
Open source source code editor developed by Microsoft for Windows, |
||||
Linux and macOS. It includes support for debugging, embedded Git |
||||
control, syntax highlighting, intelligent code completion, snippets, |
||||
and code refactoring. It is also customizable, so users can change the |
||||
editor's theme, keyboard shortcuts, and preferences |
||||
''; |
||||
homepage = "https://github.com/VSCodium/vscodium"; |
||||
downloadPage = "https://github.com/VSCodium/vscodium/releases"; |
||||
license = lib.licenses.mit; |
||||
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; |
||||
maintainers = with lib.maintainers; [ |
||||
synthetica |
||||
bobby285271 |
||||
ludovicopiero |
||||
]; |
||||
mainProgram = "codium"; |
||||
platforms = [ |
||||
"x86_64-linux" |
||||
"x86_64-darwin" |
||||
"aarch64-linux" |
||||
"aarch64-darwin" |
||||
"armv7l-linux" |
||||
]; |
||||
# requires libc.so.6 and other glibc specifics |
||||
broken = stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isGnu; |
||||
}; |
||||
} |
||||
Loading…
Reference in new issue