feat: add nur-ryan4yin, install yazi

This commit is contained in:
Ryan Yin
2023-08-17 22:57:08 +08:00
parent e36daaa48c
commit a0c6965438
3 changed files with 52 additions and 0 deletions

35
flake.lock generated
View File

@@ -750,6 +750,22 @@
"type": "github"
}
},
"nixpkgs_8": {
"locked": {
"lastModified": 1692221125,
"narHash": "sha256-nKUDlbLL8/WW3Fpx9Y0sY+LliTqU3/GexvHU9BdA8Qk=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "214c9de8159b25f3cdc8374a80794d4d5787b4cf",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_sirula": {
"locked": {
"lastModified": 1682879489,
@@ -766,6 +782,24 @@
"type": "github"
}
},
"nur-ryan4yin": {
"inputs": {
"nixpkgs": "nixpkgs_8"
},
"locked": {
"lastModified": 1692278646,
"narHash": "sha256-NkCUUzBiTVYP49KEa6IhYGcamaLSYlcSBTNJbNznJCM=",
"owner": "ryan4yin",
"repo": "nur-packages",
"rev": "1f16929bbe8545242be36d79f6bd5628e50569ea",
"type": "github"
},
"original": {
"owner": "ryan4yin",
"repo": "nur-packages",
"type": "github"
}
},
"nushell-scripts": {
"flake": false,
"locked": {
@@ -808,6 +842,7 @@
"nixpkgs-darwin": "nixpkgs-darwin",
"nixpkgs-unstable": "nixpkgs-unstable",
"nixpkgs-wayland": "nixpkgs-wayland",
"nur-ryan4yin": "nur-ryan4yin",
"nushell-scripts": "nushell-scripts",
"wallpapers": "wallpapers"
}

View File

@@ -315,6 +315,8 @@
# secrets management, lock with git commit at 2023/7/15
agenix.url = "github:ryantm/agenix/0d8c5325fc81daf00532e3e26c6752f7bcde1143";
######################## Some non-flake repositories #########################################
# AstroNvim is an aesthetic and feature-rich neovim config.
astronvim = {
url = "github:AstroNvim/AstroNvim/v3.36.0";
@@ -327,6 +329,8 @@
flake = false;
};
######################## My own repositories #########################################
# my private secrets, it's a private repository, you need to replace it with your own.
# use ssh protocol to authenticate via ssh-agent/ssh-key, and shallow clone to save time
mysecrets = {
@@ -340,6 +344,11 @@
flake = false;
};
nur-ryan4yin = {
url = "github:ryan4yin/nur-packages";
# inputs.nixpkgs.follows = "nixpkgs";
};
# riscv64 SBCs
nixos-licheepi4a.url = "github:ryan4yin/nixos-licheepi4a";
# nixos-jh7110.url = "github:ryan4yin/nixos-jh7110";
@@ -347,6 +356,8 @@
# aarch64 SBCs
nixos-rk3588.url = "github:ryan4yin/nixos-rk3588";
######################## Color Schemes #########################################
# color scheme - catppuccin
catppuccin-btop = {
url = "github:catppuccin/btop";
@@ -395,6 +406,8 @@
experimental-features = ["nix-command" "flakes"];
substituters = [
# my own cache server
"https://ryan4yin.cachix.org"
# replace official cache with a mirror located in China
"https://mirrors.ustc.edu.cn/nix-channels/store"
"https://cache.nixos.org"
@@ -408,6 +421,7 @@
"https://nixpkgs-wayland.cachix.org"
];
extra-trusted-public-keys = [
"ryan4yin.cachix.org-1:Gbk27ZU5AYpGS9i3ssoLlwdvMIh0NxG0w8it/cv9kbU="
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"nixpkgs-wayland.cachix.org-1:3lwxaILxMRkVhehr5StQprHdEo4IrE8sRho9R9HOLYA="

View File

@@ -1,6 +1,7 @@
{
pkgs,
catppuccin-cava,
nur-ryan4yin,
...
}:
# media - control and enjoy audio/video
@@ -20,6 +21,8 @@
vdpauinfo
vulkan-tools
glxinfo
nur-ryan4yin.packages.${pkgs.system}.yazi # terminal file manager
];
# https://github.com/catppuccin/cava