Compare commits
1 Commits
feature-ya
...
76613c5e1c
| Author | SHA1 | Date | |
|---|---|---|---|
|
76613c5e1c
|
72
flake.lock
generated
72
flake.lock
generated
@@ -5,11 +5,11 @@
|
||||
"nixpkgs": "nixpkgs"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1773403535,
|
||||
"narHash": "sha256-47MZaFrHxNO8tVUAmtVnerXUw2WWVluBOiU9MulN/yM=",
|
||||
"lastModified": 1774616169,
|
||||
"narHash": "sha256-fP4bU3SOH5sefSl6EagqULFs+bXoo3h3VLQCCyJplo4=",
|
||||
"owner": "catppuccin",
|
||||
"repo": "nix",
|
||||
"rev": "d45b5665cc638bad1b794350de02f4dd41b0bb47",
|
||||
"rev": "e616c61cd9f7b05b32af266bc005fa266860dacf",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -106,11 +106,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1773962693,
|
||||
"narHash": "sha256-nf9pgktDE4E2TCavUT1vh3Nd/tfKixL1BK6P32Zp3hI=",
|
||||
"lastModified": 1774647770,
|
||||
"narHash": "sha256-UNNi14XiqRWWjO8ykbFwA5wRwx7EscsC+GItOVpuGjc=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "9d3c1d636e7b8ab10f357cd9bee653cd400437de",
|
||||
"rev": "02371c05a04a2876cf92e2d67a259e8f87399068",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -126,11 +126,11 @@
|
||||
"nixpkgs": "nixpkgs_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1773965157,
|
||||
"narHash": "sha256-u6Ceko/AQ30asd/P68Y7gD0x3LtsjiPwC31TlwVnsac=",
|
||||
"lastModified": 1774656308,
|
||||
"narHash": "sha256-k+L2Q5DtNGkPy+JgfhpTxpngdxy+FVz269iNfCYVy5E=",
|
||||
"owner": "nix-community",
|
||||
"repo": "neovim-nightly-overlay",
|
||||
"rev": "7e711c5abd3b0ca9c0038606edeee6bcf09b055c",
|
||||
"rev": "114911d841b928b2b147511bec7121af310d7a23",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -142,11 +142,11 @@
|
||||
"neovim-src": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1773942472,
|
||||
"narHash": "sha256-VRtGTA4WWgrVrjZg+XrnRgMcbAa0EkYkWV5Wcn76/0g=",
|
||||
"lastModified": 1774652330,
|
||||
"narHash": "sha256-dqlsjRaLgD87D8YaC8842bhYziuRQ2qvTDgQDKL1ttQ=",
|
||||
"owner": "neovim",
|
||||
"repo": "neovim",
|
||||
"rev": "06befe1e348bf540bb04a8c0cafe116616e71715",
|
||||
"rev": "f027f41e2cfba7be8c4841cb1a036827375bbd73",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -162,11 +162,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1773974569,
|
||||
"narHash": "sha256-Y71Afv2mVpus+EqUj0qAwPgyaABIvEtjnUAlw5EUo3A=",
|
||||
"lastModified": 1774666058,
|
||||
"narHash": "sha256-YOFC8tZvWAojaBBJHB8OD7ONUDUc9Sc8u4/TJ8s//WQ=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nix-vscode-extensions",
|
||||
"rev": "5b8548f9e2cbe14146df30858bd281404957846f",
|
||||
"rev": "4ef48e66f28308955322a92f80b6c35e42f17a1c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -177,11 +177,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1773122722,
|
||||
"narHash": "sha256-FIqHByVqxCprNjor1NqF80F2QQoiiyqanNNefdlvOg4=",
|
||||
"lastModified": 1773821835,
|
||||
"narHash": "sha256-TJ3lSQtW0E2JrznGVm8hOQGVpXjJyXY2guAxku2O9A4=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "62dc67aa6a52b4364dd75994ec00b51fbf474e50",
|
||||
"rev": "b40629efe5d6ec48dd1efba650c797ddbd39ace0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -193,11 +193,11 @@
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1773628058,
|
||||
"narHash": "sha256-hpXH0z3K9xv0fHaje136KY872VT2T5uwxtezlAskQgY=",
|
||||
"lastModified": 1774273680,
|
||||
"narHash": "sha256-a++tZ1RQsDb1I0NHrFwdGuRlR5TORvCEUksM459wKUA=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "f8573b9c935cfaa162dd62cc9e75ae2db86f85df",
|
||||
"rev": "fdc7b8f7b30fdbedec91b71ed82f36e1637483ed",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -209,11 +209,11 @@
|
||||
},
|
||||
"nixpkgs_3": {
|
||||
"locked": {
|
||||
"lastModified": 1773821835,
|
||||
"narHash": "sha256-TJ3lSQtW0E2JrznGVm8hOQGVpXjJyXY2guAxku2O9A4=",
|
||||
"lastModified": 1774386573,
|
||||
"narHash": "sha256-4hAV26quOxdC6iyG7kYaZcM3VOskcPUrdCQd/nx8obc=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "b40629efe5d6ec48dd1efba650c797ddbd39ace0",
|
||||
"rev": "46db2e09e1d3f113a13c0d7b81e2f221c63b8ce9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -225,11 +225,11 @@
|
||||
},
|
||||
"nixpkgs_4": {
|
||||
"locked": {
|
||||
"lastModified": 1773821835,
|
||||
"narHash": "sha256-TJ3lSQtW0E2JrznGVm8hOQGVpXjJyXY2guAxku2O9A4=",
|
||||
"lastModified": 1774386573,
|
||||
"narHash": "sha256-4hAV26quOxdC6iyG7kYaZcM3VOskcPUrdCQd/nx8obc=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "b40629efe5d6ec48dd1efba650c797ddbd39ace0",
|
||||
"rev": "46db2e09e1d3f113a13c0d7b81e2f221c63b8ce9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -264,11 +264,11 @@
|
||||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1772402258,
|
||||
"narHash": "sha256-3DmCFOdmbkFML1/G9gj8Wb+rCCZFPOQtNoMCpqOF8SA=",
|
||||
"lastModified": 1774612943,
|
||||
"narHash": "sha256-hRhq5cpDyBm/ZQyuzI+/YzQEVt35d/M6ko7ADfodw9s=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixvim",
|
||||
"rev": "21ae25e13b01d3b4cdc750b5f9e7bad68b150c10",
|
||||
"rev": "2b9f8e1d659d1c7664e1b85ab1620c219672696c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -283,11 +283,11 @@
|
||||
"nixpkgs": "nixpkgs_4"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1774003391,
|
||||
"narHash": "sha256-3wzfMk2W/r0is+A6CMlHgG44hW/vIJ0NprJPNOqHYG4=",
|
||||
"lastModified": 1774700410,
|
||||
"narHash": "sha256-2vvPMI78Wye6HttV+mQgX0QeaSQkNgkkbXaOXlt5uhM=",
|
||||
"owner": "nix-community",
|
||||
"repo": "NUR",
|
||||
"rev": "da2dd0472635372ee44134502fde664df1e5820f",
|
||||
"rev": "560b181abe2bba9d130123a5dfa56f03c1d5be88",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -337,11 +337,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1774154798,
|
||||
"narHash": "sha256-zsTuloDSdKf+PrI1MsWx5z/cyGEJ8P3eERtAfdP8Bmg=",
|
||||
"lastModified": 1774303811,
|
||||
"narHash": "sha256-fhG4JAcLgjKwt+XHbjs8brpWnyKUfU4LikLm3s0Q/ic=",
|
||||
"owner": "Mic92",
|
||||
"repo": "sops-nix",
|
||||
"rev": "3e0d543e6ba6c0c48117a81614e90c6d8c425170",
|
||||
"rev": "614e256310e0a4f8a9ccae3fa80c11844fba7042",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -33,7 +33,6 @@
|
||||
url = "github:Mic92/sops-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
yazi.url = "github:sxyazi/yazi";
|
||||
};
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
./calibre.nix
|
||||
./digikam.nix
|
||||
./eww
|
||||
./filebrowser
|
||||
./filebrowser.nix
|
||||
./git.nix
|
||||
./hyprlock.nix
|
||||
./imv.nix
|
||||
|
||||
0
home/programs/eww/src/scripts/audio.sh
Normal file → Executable file
0
home/programs/eww/src/scripts/audio.sh
Normal file → Executable file
0
home/programs/eww/src/scripts/battery.sh
Normal file → Executable file
0
home/programs/eww/src/scripts/battery.sh
Normal file → Executable file
0
home/programs/eww/src/scripts/cpu.sh
Normal file → Executable file
0
home/programs/eww/src/scripts/cpu.sh
Normal file → Executable file
0
home/programs/eww/src/scripts/memory.sh
Normal file → Executable file
0
home/programs/eww/src/scripts/memory.sh
Normal file → Executable file
0
home/programs/eww/src/scripts/network.sh
Normal file → Executable file
0
home/programs/eww/src/scripts/network.sh
Normal file → Executable file
0
home/programs/eww/src/scripts/powermenu.sh
Normal file → Executable file
0
home/programs/eww/src/scripts/powermenu.sh
Normal file → Executable file
0
home/programs/eww/src/scripts/ristate.sh
Normal file → Executable file
0
home/programs/eww/src/scripts/ristate.sh
Normal file → Executable file
0
home/programs/eww/src/scripts/ristate_read.sh
Normal file → Executable file
0
home/programs/eww/src/scripts/ristate_read.sh
Normal file → Executable file
64
home/programs/filebrowser.nix
Normal file
64
home/programs/filebrowser.nix
Normal file
@@ -0,0 +1,64 @@
|
||||
{ inputs, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
kdePackages.dolphin
|
||||
kdePackages.dolphin-plugins
|
||||
kdePackages.baloo-widgets
|
||||
kdePackages.baloo
|
||||
nautilus
|
||||
udisks
|
||||
];
|
||||
xdg.configFile."menus/applications.menu".source =
|
||||
"${pkgs.kdePackages.plasma-workspace}/etc/xdg/menus/plasma-applications.menu";
|
||||
|
||||
# ── Yazi ──────────────────────────────────────────────────────────────
|
||||
programs.yazi = {
|
||||
enable = true;
|
||||
package = inputs.yazi.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
||||
enableZshIntegration = true;
|
||||
settings = {
|
||||
yazi = {
|
||||
ratio = [
|
||||
1
|
||||
4
|
||||
3
|
||||
];
|
||||
sort_by = "natural";
|
||||
sort_sensitive = true;
|
||||
sort_reverse = false;
|
||||
sort_dir_first = true;
|
||||
linemode = "none";
|
||||
show_hidden = true;
|
||||
show_symlink = true;
|
||||
};
|
||||
|
||||
preview = {
|
||||
image_filter = "lanczos3";
|
||||
image_quality = 90;
|
||||
tab_size = 1;
|
||||
max_width = 600;
|
||||
max_height = 900;
|
||||
cache_dir = "";
|
||||
ueberzug_scale = 1;
|
||||
ueberzug_offset = [
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
];
|
||||
};
|
||||
|
||||
tasks = {
|
||||
micro_workers = 5;
|
||||
macro_workers = 10;
|
||||
bizarre_retry = 5;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.zoxide = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
};
|
||||
}
|
||||
@@ -1,252 +0,0 @@
|
||||
{ inputs, pkgs, ... }:
|
||||
|
||||
let
|
||||
exifaudio = pkgs.fetchFromGitHub {
|
||||
owner = "Sonico98";
|
||||
repo = "exifaudio.yazi";
|
||||
rev = "4506f9d";
|
||||
sha256 = "sha256-RWCqWBpbmU3sh/A+LBJPXL/AY292blKb/zZXGvIA5/o=";
|
||||
};
|
||||
bunny = pkgs.fetchFromGitHub {
|
||||
owner = "stelcodes";
|
||||
repo = "bunny.yazi";
|
||||
rev = "71b14a3";
|
||||
sha256 = "sha256-uQO0C00yOFPWq8KEO/kEZM6tFZRc9SiXfgN7kzlwDeA=";
|
||||
};
|
||||
in
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
# kdePackages.dolphin
|
||||
# kdePackages.dolphin-plugins
|
||||
# kdePackages.baloo-widgets
|
||||
# kdePackages.baloo
|
||||
exiftool
|
||||
nautilus
|
||||
ouch
|
||||
udisks
|
||||
];
|
||||
xdg.configFile."menus/applications.menu".source =
|
||||
"${pkgs.kdePackages.plasma-workspace}/etc/xdg/menus/plasma-applications.menu";
|
||||
|
||||
# ── Yazi ──────────────────────────────────────────────────────────────
|
||||
programs.yazi = {
|
||||
enable = true;
|
||||
package = inputs.yazi.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
||||
enableZshIntegration = true;
|
||||
initLua = ./init.lua;
|
||||
|
||||
settings = {
|
||||
yazi = {
|
||||
ratio = [
|
||||
1
|
||||
4
|
||||
3
|
||||
];
|
||||
sort_by = "natural";
|
||||
sort_sensitive = true;
|
||||
sort_reverse = false;
|
||||
sort_dir_first = true;
|
||||
linemode = "none";
|
||||
show_hidden = true;
|
||||
show_symlink = true;
|
||||
};
|
||||
|
||||
preview = {
|
||||
image_filter = "lanczos3";
|
||||
image_quality = 90;
|
||||
tab_size = 1;
|
||||
max_width = 600;
|
||||
max_height = 900;
|
||||
cache_dir = "";
|
||||
ueberzug_scale = 1;
|
||||
ueberzug_offset = [
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
];
|
||||
};
|
||||
|
||||
tasks = {
|
||||
micro_workers = 5;
|
||||
macro_workers = 10;
|
||||
bizarre_retry = 5;
|
||||
};
|
||||
|
||||
plugin = {
|
||||
prepend_previewers = [
|
||||
{
|
||||
run = "exifaudio";
|
||||
mime = "audio/*";
|
||||
}
|
||||
];
|
||||
prepend_fetchers = [
|
||||
{
|
||||
id = "git";
|
||||
url = "*";
|
||||
run = "git";
|
||||
}
|
||||
{
|
||||
id = "git";
|
||||
url = "*/";
|
||||
run = "git";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
opener = {
|
||||
extract = [
|
||||
{
|
||||
run = "ouch d -y %*";
|
||||
desc = "Extract here with ouch";
|
||||
for = "windows";
|
||||
}
|
||||
{
|
||||
run = "ouch d -y $@";
|
||||
desc = "Extract here with ouch";
|
||||
for = "unix";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
keymap = {
|
||||
mgr.prepend_keymap = [
|
||||
{
|
||||
run = "plugin mount";
|
||||
on = [ "M" ];
|
||||
}
|
||||
{
|
||||
run = "plugin ouch";
|
||||
on = [ "C" ];
|
||||
}
|
||||
{
|
||||
run = "plugin bunny";
|
||||
on = [
|
||||
";"
|
||||
];
|
||||
desc = "Start bunny";
|
||||
}
|
||||
{
|
||||
run = "plugin bunny fuzzy";
|
||||
on = [
|
||||
"'"
|
||||
];
|
||||
desc = "Start bunny fuzzy search";
|
||||
}
|
||||
{
|
||||
run = "plugin chmod";
|
||||
on = [
|
||||
"c"
|
||||
"m"
|
||||
];
|
||||
desc = "Chmod on selected files";
|
||||
}
|
||||
{
|
||||
run = "plugin sudo -- paste";
|
||||
on = [
|
||||
"R"
|
||||
"p"
|
||||
"p"
|
||||
];
|
||||
desc = "sudo paste";
|
||||
}
|
||||
{
|
||||
run = "plugin sudo -- paste --force";
|
||||
on = [
|
||||
"R"
|
||||
"P"
|
||||
];
|
||||
desc = "sudo paste";
|
||||
}
|
||||
{
|
||||
run = "plugin sudo -- rename";
|
||||
on = [
|
||||
"R"
|
||||
"r"
|
||||
];
|
||||
desc = "sudo rename";
|
||||
}
|
||||
{
|
||||
run = "plugin sudo -- link";
|
||||
on = [
|
||||
"R"
|
||||
"p"
|
||||
"l"
|
||||
];
|
||||
desc = "sudo link";
|
||||
}
|
||||
{
|
||||
run = "plugin sudo -- link --relative";
|
||||
on = [
|
||||
"R"
|
||||
"p"
|
||||
"r"
|
||||
];
|
||||
desc = "sudo link relative path";
|
||||
}
|
||||
{
|
||||
run = "plugin sudo -- hardlink";
|
||||
on = [
|
||||
"R"
|
||||
"p"
|
||||
"L"
|
||||
];
|
||||
desc = "sudo hardlink";
|
||||
}
|
||||
{
|
||||
run = "plugin sudo -- create";
|
||||
on = [
|
||||
"R"
|
||||
"a"
|
||||
];
|
||||
desc = "sudo create";
|
||||
}
|
||||
{
|
||||
run = "plugin sudo -- remove";
|
||||
on = [
|
||||
"R"
|
||||
"d"
|
||||
];
|
||||
desc = "sudo trash";
|
||||
}
|
||||
{
|
||||
run = "plugin sudo -- remove --permanently";
|
||||
on = [
|
||||
"R"
|
||||
"D"
|
||||
];
|
||||
desc = "sudo delete";
|
||||
}
|
||||
{
|
||||
run = "plugin sudo -- chmod";
|
||||
on = [
|
||||
"R"
|
||||
"m"
|
||||
];
|
||||
desc = "sudo chmod";
|
||||
}
|
||||
{
|
||||
run = [ "plugin wl-clipboard" ];
|
||||
on = [ "<C-y" ];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
plugins = {
|
||||
bunny = bunny;
|
||||
chmod = pkgs.yaziPlugins.chmod;
|
||||
exifaudio = exifaudio;
|
||||
git = pkgs.yaziPlugins.git;
|
||||
mount = pkgs.yaziPlugins.mount;
|
||||
ouch = pkgs.yaziPlugins.ouch;
|
||||
sudo = pkgs.yaziPlugins.sudo;
|
||||
wl-clipboard = pkgs.yaziPlugins.wl-clipboard;
|
||||
};
|
||||
};
|
||||
|
||||
programs.zoxide = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
};
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
require("bunny"):setup({
|
||||
hops = {
|
||||
{ key = "/", path = "/", desc = "Root" },
|
||||
{ key = "n", path = "/nix/store", desc = "Nix store" },
|
||||
{ key = "~", path = "~", desc = "Home" },
|
||||
{ key = "r", path = "~/Repos", desc = "Repos" },
|
||||
{ key = "d", path = "~/Downloads", desc = "Downloads" },
|
||||
{ key = "D", path = "~/Documents", desc = "Documents" },
|
||||
{ key = "c", path = "~/.config", desc = "Config files" },
|
||||
{ key = { "N", "h" }, path = "~/Nextcloud", desc = "Nexctloud root" },
|
||||
{ key = { "N", "d" }, path = "~/Nextcloud/Data/Documents", desc = "Nextcloud documents" },
|
||||
{ key = { "N", "u" }, path = "~/Nextcloud/Uni", desc = "Nextcloud uni" },
|
||||
-- key and path attributes are required, desc is optional
|
||||
},
|
||||
desc_strategy = "path", -- If desc isn't present, use "path" or "filename", default is "path"
|
||||
ephemeral = true, -- Enable ephemeral hops, default is true
|
||||
tabs = true, -- Enable tab hops, default is true
|
||||
notify = false, -- Notify after hopping, default is false
|
||||
fuzzy_cmd = "fzf", -- Fuzzy searching command, default is "fzf"
|
||||
})
|
||||
|
||||
require("git"):setup({
|
||||
-- Order of status signs showing in the linemode
|
||||
order = 1500,
|
||||
})
|
||||
@@ -12,7 +12,7 @@
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
font = {
|
||||
size = 8;
|
||||
size = 6;
|
||||
name = "Fira Code";
|
||||
package = pkgs.fira-code;
|
||||
};
|
||||
|
||||
0
home/programs/river/src/lock.sh
Normal file → Executable file
0
home/programs/river/src/lock.sh
Normal file → Executable file
0
home/programs/river/src/logout.sh
Normal file → Executable file
0
home/programs/river/src/logout.sh
Normal file → Executable file
0
home/programs/river/src/startEww.sh
Normal file → Executable file
0
home/programs/river/src/startEww.sh
Normal file → Executable file
0
home/programs/taskwarrior/hooks/on-add.sh
Normal file → Executable file
0
home/programs/taskwarrior/hooks/on-add.sh
Normal file → Executable file
Reference in New Issue
Block a user