Compare commits
2
Commits
3c1cebca72
...
03a6cfbb96
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
03a6cfbb96
|
||
|
|
9281b78cd9
|
No files matched your search
@@ -3,16 +3,18 @@
|
|||||||
|
|
||||||
nixConfig = {
|
nixConfig = {
|
||||||
extra-substituters = [
|
extra-substituters = [
|
||||||
"https://nix.codrs.ru/main"
|
"https://nix.lair.moe/main"
|
||||||
"https://nix-community.cachix.org"
|
"https://nix-community.cachix.org"
|
||||||
"https://hyprland.cachix.org"
|
"https://hyprland.cachix.org"
|
||||||
"https://ezkea.cachix.org"
|
"https://ezkea.cachix.org"
|
||||||
|
"https://yazi.cachix.org"
|
||||||
];
|
];
|
||||||
extra-trusted-public-keys = [
|
extra-trusted-public-keys = [
|
||||||
"main:kpwMe+9BsGJ/IUb7i3iadaV38y5/Yuqoct0mf7wI9ds="
|
"main:kpwMe+9BsGJ/IUb7i3iadaV38y5/Yuqoct0mf7wI9ds="
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||||||
"ezkea.cachix.org-1:ioBmUbJTZIKsHmWWXPe1FSFbeVe+afhfgqgTSNd34eI="
|
"ezkea.cachix.org-1:ioBmUbJTZIKsHmWWXPe1FSFbeVe+afhfgqgTSNd34eI="
|
||||||
|
"yazi.cachix.org-1:Dcdz63NZKfvUCbDGngQDAZq6kOroIrFoyO064uvLh8k="
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
wayland.windowManager.hyprland = let
|
wayland.windowManager.hyprland = let
|
||||||
wallpaper = pkgs.fetchurl {
|
wallpaper = pkgs.fetchurl {
|
||||||
name = "miku_wallpaper.jpg";
|
name = "miku_wallpaper.jpg";
|
||||||
url = "https://c.codrs.ru/pub/miku_wallpaper.jpeg?raw";
|
url = "https://c.lair.moe/pub/miku_wallpaper.jpeg?raw";
|
||||||
hash = "sha256-inK4X5KzQk5FHwDw2DYy43nm7XtXlC6I0S1PkYUv+3w=";
|
hash = "sha256-inK4X5KzQk5FHwDw2DYy43nm7XtXlC6I0S1PkYUv+3w=";
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
config = {
|
config = {
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
keep-going = true;
|
keep-going = true;
|
||||||
extra-substituters = [ "https://nix.codrs.ru/main" ];
|
extra-substituters = [ "https://nix.lair.moe/main" ];
|
||||||
extra-trusted-public-keys = [ "main:kpwMe+9BsGJ/IUb7i3iadaV38y5/Yuqoct0mf7wI9ds=" ];
|
extra-trusted-public-keys = [ "main:kpwMe+9BsGJ/IUb7i3iadaV38y5/Yuqoct0mf7wI9ds=" ];
|
||||||
experimental-features = [ "nix-command" "flakes" ];
|
experimental-features = [ "nix-command" "flakes" ];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
persistentKeys = true;
|
persistentKeys = true;
|
||||||
settings = {
|
settings = {
|
||||||
Peers = [
|
Peers = [
|
||||||
"tcp://codrs.ru:5001"
|
"tcp://lair.moe:5001"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{ config, pkgs, ... }: let
|
{ config, pkgs, ... }: let
|
||||||
icon = pkgs.fetchurl {
|
icon = pkgs.fetchurl {
|
||||||
url = "https://cloud.codrs.ru/pub/nixos-chan.webp?raw";
|
url = "https://cloud.lair.moe/pub/nixos-chan.webp?raw";
|
||||||
name = "nixos-chan.webp";
|
name = "nixos-chan.webp";
|
||||||
sha256 = "sha256-0majB9ljjMdZwvOijEgWdFKxWLje5tHgXHBJUWZfHfY=";
|
sha256 = "sha256-0majB9ljjMdZwvOijEgWdFKxWLje5tHgXHBJUWZfHfY=";
|
||||||
};
|
};
|
||||||
|
|||||||
+20
-1
@@ -54,6 +54,20 @@
|
|||||||
require("git"):setup()
|
require("git"):setup()
|
||||||
require("full-border"):setup()
|
require("full-border"):setup()
|
||||||
require("starship"):setup()
|
require("starship"):setup()
|
||||||
|
|
||||||
|
Status:children_add(function()
|
||||||
|
local h = cx.active.current.hovered
|
||||||
|
if not h or ya.target_family() ~= "unix" then
|
||||||
|
return ""
|
||||||
|
end
|
||||||
|
|
||||||
|
return ui.Line {
|
||||||
|
ui.Span(ya.user_name(h.cha.uid) or tostring(h.cha.uid)):fg("magenta"),
|
||||||
|
":",
|
||||||
|
ui.Span(ya.group_name(h.cha.gid) or tostring(h.cha.gid)):fg("magenta"),
|
||||||
|
" ",
|
||||||
|
}
|
||||||
|
end, 500, Status.RIGHT)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
keymap = {
|
keymap = {
|
||||||
@@ -63,6 +77,11 @@
|
|||||||
run = "plugin toggle-pane max-preview";
|
run = "plugin toggle-pane max-preview";
|
||||||
desc = "Maximize or restore the preview pane";
|
desc = "Maximize or restore the preview pane";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
on = "Y";
|
||||||
|
run = ''shell -- for path in "$@"; do echo "file://$path"; done | wl-copy -t text/uri-list'';
|
||||||
|
desc = "Copy files into system clipboard";
|
||||||
|
}
|
||||||
{
|
{
|
||||||
on = ["c" "m"];
|
on = ["c" "m"];
|
||||||
run = "plugin chmod";
|
run = "plugin chmod";
|
||||||
@@ -75,7 +94,7 @@
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
on = [ "<C-n>" ];
|
on = [ "<C-n>" ];
|
||||||
run = "shell '${lib.getExe pkgs.dragon-drop} -x -i -T %h'";
|
run = "shell '${lib.getExe pkgs.dragon-drop} -x -A -i -T %s'";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
on = [ "g" "<S-d>" ];
|
on = [ "g" "<S-d>" ];
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
settings.user = {
|
settings.user = {
|
||||||
name = "Sweetbread";
|
name = "Sweetbread";
|
||||||
email = "risdeveau@codrs.ru";
|
email = "risdeveau@lair.moe";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user