Compare commits
No commits in common. "b7c124a43301cde0ae72a7dc9103983ce6ab588f" and "a0e66f6205bbdd509c86649d2c7868e3665341b5" have entirely different histories.
b7c124a433
...
a0e66f6205
4 changed files with 3 additions and 34 deletions
18
README.md
18
README.md
|
@ -16,21 +16,3 @@ doas nixos-rebuild switch --flake ".#mrmeeseeks"
|
||||||
nix flake update
|
nix flake update
|
||||||
doas nixos-rebuild switch --flake ".#mrmeeseeks"
|
doas nixos-rebuild switch --flake ".#mrmeeseeks"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Update manual packages from github
|
|
||||||
|
|
||||||
Somes of module use `fetchFromGithub` who need *SHA-256* hash to meet
|
|
||||||
reproductibility. Theses hashed can be obtain with `nix-prefetch-github`:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
$ nix-shell -p nix-prefetch-github
|
|
||||||
$ nix-prefetch-ghithub --rev v1.22.0 sindresorhus pure
|
|
||||||
{
|
|
||||||
"owner": "sindresorhus",
|
|
||||||
"repo": "pure",
|
|
||||||
"rev": "87e6f5dd4c793f6d980532205aaefe196780606f",
|
|
||||||
"sha256": "TR4CyBZ+KoZRs9XDmWE5lJuUXXU1J8E2Z63nt+FS+5w="
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
In this example whe have obtained the hash for the specific 1.22.0 version.
|
|
||||||
|
|
|
@ -13,20 +13,7 @@ in
|
||||||
chafa # Preview images
|
chafa # Preview images
|
||||||
poppler_utils # Preview PDF file
|
poppler_utils # Preview PDF file
|
||||||
];
|
];
|
||||||
programs.zsh = {
|
|
||||||
initExtra = ''
|
|
||||||
cdv() {
|
|
||||||
cd "$(vifm --choose-dir - "$@")"
|
|
||||||
}
|
|
||||||
openv() {
|
|
||||||
xdg-open "$(vifm --choose-file - "$@")"
|
|
||||||
}
|
|
||||||
|
|
||||||
'';
|
|
||||||
shellAliases = {
|
|
||||||
vifm = "TERM=tmux-256color vifm";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
home.file.".config/vifm/vifmrc".source = ./files/vifmrc;
|
home.file.".config/vifm/vifmrc".source = ./files/vifmrc;
|
||||||
home.file.".config/vifm/colors/base16-default-dark.vifm".source = ./files/base16-default-dark.vifm;
|
home.file.".config/vifm/colors/base16-default-dark.vifm".source = ./files/base16-default-dark.vifm;
|
||||||
home.file.".config/vifm/devicons.vifm".source = ./files/devicons.vifm;
|
home.file.".config/vifm/devicons.vifm".source = ./files/devicons.vifm;
|
||||||
|
|
|
@ -173,8 +173,7 @@ fileviewer {*.pdf},<application/pdf> pdftotext -nopgbrk %c -
|
||||||
filetype {*.pdf},<application/pdf>
|
filetype {*.pdf},<application/pdf>
|
||||||
\ xdg-open
|
\ xdg-open
|
||||||
fileviewer {*.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm},<image/*>
|
fileviewer {*.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm},<image/*>
|
||||||
\ chafa -f sixel --polite on -s %pwx%ph --animate off %c
|
\ chafa -f sixel -s %pwx%ph %c:p %pd %N 2>/dev/null
|
||||||
\ %pd %N
|
|
||||||
filetype {*.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm},<image/*>
|
filetype {*.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm},<image/*>
|
||||||
\ xdg-open
|
\ xdg-open
|
||||||
fileviewer *.zip,*.jar,*.war,*.ear,*.oxt tar -tf %f
|
fileviewer *.zip,*.jar,*.war,*.ear,*.oxt tar -tf %f
|
||||||
|
|
|
@ -29,6 +29,7 @@ in
|
||||||
highlighters = [ "brackets" "main" ];
|
highlighters = [ "brackets" "main" ];
|
||||||
styles = {
|
styles = {
|
||||||
double-hyphen-option = "fg=blue";
|
double-hyphen-option = "fg=blue";
|
||||||
|
single-hyphen-option = "fg=blue";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
completionInit = ''
|
completionInit = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue