Compare commits
9 commits
cf83a45191
...
edfca14621
| Author | SHA1 | Date | |
|---|---|---|---|
| edfca14621 | |||
| 2c37d1f7c9 | |||
| 90830d3d06 | |||
| 68458ec74c | |||
| 094f9d86f9 | |||
| 2ded35f4be | |||
| 9110727e03 | |||
| dcbba5b66e | |||
| d1c2006e24 |
13 changed files with 126 additions and 33 deletions
|
|
@ -39,8 +39,9 @@
|
|||
swaybg = getExe pkgs.swaybg;
|
||||
ghostty = getExe config.programs.ghostty.package;
|
||||
wl-paste = getExe' pkgs.wl-clipboard "wl-paste";
|
||||
wl-copy = getExe' pkgs.wl-clipboard "wl-copy";
|
||||
cliphist = getExe' pkgs.cliphist "cliphist";
|
||||
cliphist-fuzzel-img = getExe' pkgs.cliphist "cliphist-fuzzel-img";
|
||||
wl-clip-persist = getExe pkgs.wl-clip-persist;
|
||||
in
|
||||
(
|
||||
let
|
||||
|
|
@ -48,7 +49,7 @@ in
|
|||
in [
|
||||
(plain "binds" [
|
||||
(plain "Mod+V" [
|
||||
(spawn [sh "-c" "${cliphist} list | ${fuzzel} --dmenu | ${cliphist} decode | ${wl-copy}"])
|
||||
(spawn [cliphist-fuzzel-img])
|
||||
])
|
||||
(plain "Mod+Shift+P" [
|
||||
(spawn [swaylock "--screenshots" "--clock" "--indicator" "--indicator-radius" "100" "--indicator-thickness" "7" "--effect-blur" "7x5" "--effect-vignette" "0.5:0.5" "--grace" "2" "--fade-in" "0.5"])
|
||||
|
|
@ -390,7 +391,8 @@ in
|
|||
(spawn-at-startup [swaybg "-i" "${config.home.homeDirectory}/wallpaper/01.png"])
|
||||
(spawn-at-startup [polkit-kde-agent])
|
||||
(spawn-at-startup [wl-paste "--watch" cliphist "store"])
|
||||
(spawn-at-startup [sh "-c" "${sleep} 10; ${fcitx5} --replace"])
|
||||
(spawn-at-startup [wl-clip-persist "--clipboard" "regular"])
|
||||
(spawn-at-startup [fcitx5 "--replace"])
|
||||
(plain "input" [
|
||||
(plain "touchpad" [
|
||||
(leaf "click-method" "clickfinger")
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
users.deploy.enable = true;
|
||||
containers.interface = "ens3";
|
||||
programs = {
|
||||
transfer-sh.enable = true;
|
||||
rustypaste = {
|
||||
enable = true;
|
||||
url = "https://paste.youthlic.fun";
|
||||
|
|
|
|||
5
overlays/modifications/cliphist.nix
Normal file
5
overlays/modifications/cliphist.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{outputs, ...}: final: prev: let
|
||||
inherit (prev.stdenv.hostPlatform) system;
|
||||
in {
|
||||
inherit (outputs.packages."${system}") cliphist;
|
||||
}
|
||||
|
|
@ -8,8 +8,9 @@ in
|
|||
./spotifyx.nix
|
||||
./radicle-explorer.nix
|
||||
./wshowkeys.nix
|
||||
./QQ.nix
|
||||
# ./QQ.nix
|
||||
./helix.nix
|
||||
./cliphist.nix
|
||||
]
|
||||
|> map (file: import file args)
|
||||
|> (overlays: (lib.composeManyExtensions overlays) final prev)
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
},
|
||||
"TrackersListCollection": {
|
||||
"cargoLocks": null,
|
||||
"date": "2025-06-09",
|
||||
"date": "2025-06-10",
|
||||
"extract": null,
|
||||
"name": "TrackersListCollection",
|
||||
"passthru": null,
|
||||
|
|
@ -34,14 +34,35 @@
|
|||
"name": null,
|
||||
"owner": "XIU2",
|
||||
"repo": "TrackersListCollection",
|
||||
"rev": "ee6c8a19de97a244cf33f618678fe89bd0d3e38c",
|
||||
"sha256": "sha256-KaVR91W/2XbYIxFrE8aKvpJTE10Mfb25ZlMOR2dRL5M=",
|
||||
"rev": "01e578ea12a7f00d989dfaf13c5f43875f1ff853",
|
||||
"sha256": "sha256-npX1g1rvprXLEwkjE7S3hfpUCdmEnolSq4eLki9pvag=",
|
||||
"sparseCheckout": [
|
||||
"all.txt"
|
||||
],
|
||||
"type": "github"
|
||||
},
|
||||
"version": "ee6c8a19de97a244cf33f618678fe89bd0d3e38c"
|
||||
"version": "01e578ea12a7f00d989dfaf13c5f43875f1ff853"
|
||||
},
|
||||
"cliphist": {
|
||||
"cargoLocks": null,
|
||||
"date": "2025-06-07",
|
||||
"extract": null,
|
||||
"name": "cliphist",
|
||||
"passthru": null,
|
||||
"pinned": false,
|
||||
"src": {
|
||||
"deepClone": false,
|
||||
"fetchSubmodules": false,
|
||||
"leaveDotGit": false,
|
||||
"name": null,
|
||||
"owner": "sentriz",
|
||||
"repo": "cliphist",
|
||||
"rev": "f49bd905cff72d32d62c209224353865436f9a13",
|
||||
"sha256": "sha256-waD4AIAAlorW+UBvHKFc5dm/CqP0Fw3pygYqPX5cYNc=",
|
||||
"sparseCheckout": [],
|
||||
"type": "github"
|
||||
},
|
||||
"version": "f49bd905cff72d32d62c209224353865436f9a13"
|
||||
},
|
||||
"dioxionary": {
|
||||
"cargoLocks": {
|
||||
|
|
@ -136,7 +157,7 @@
|
|||
},
|
||||
"rime-ice": {
|
||||
"cargoLocks": null,
|
||||
"date": "2025-06-06",
|
||||
"date": "2025-06-09",
|
||||
"extract": null,
|
||||
"name": "rime-ice",
|
||||
"passthru": null,
|
||||
|
|
@ -148,12 +169,12 @@
|
|||
"name": null,
|
||||
"owner": "iDvel",
|
||||
"repo": "rime-ice",
|
||||
"rev": "b86e6147d68c229b45bb1f2a593f8b76155e964d",
|
||||
"sha256": "sha256-ttGHvxv6ZImn6xBifsL4bc+7Q/RvarwPwegx9pT+Hsg=",
|
||||
"rev": "5b94b7df626bffedc3fe05ee71511aa0272bfc36",
|
||||
"sha256": "sha256-RK5togo9YEQVSUL1bpkcsHmzK1V8IMe0adFB1T2hVoI=",
|
||||
"sparseCheckout": [],
|
||||
"type": "github"
|
||||
},
|
||||
"version": "b86e6147d68c229b45bb1f2a593f8b76155e964d"
|
||||
"version": "5b94b7df626bffedc3fe05ee71511aa0272bfc36"
|
||||
},
|
||||
"spotx": {
|
||||
"cargoLocks": null,
|
||||
|
|
|
|||
|
|
@ -15,18 +15,30 @@
|
|||
};
|
||||
TrackersListCollection = {
|
||||
pname = "TrackersListCollection";
|
||||
version = "ee6c8a19de97a244cf33f618678fe89bd0d3e38c";
|
||||
version = "01e578ea12a7f00d989dfaf13c5f43875f1ff853";
|
||||
src = fetchFromGitHub {
|
||||
owner = "XIU2";
|
||||
repo = "TrackersListCollection";
|
||||
rev = "ee6c8a19de97a244cf33f618678fe89bd0d3e38c";
|
||||
rev = "01e578ea12a7f00d989dfaf13c5f43875f1ff853";
|
||||
fetchSubmodules = false;
|
||||
deepClone = false;
|
||||
leaveDotGit = false;
|
||||
sparseCheckout = [ "all.txt" ];
|
||||
sha256 = "sha256-KaVR91W/2XbYIxFrE8aKvpJTE10Mfb25ZlMOR2dRL5M=";
|
||||
sha256 = "sha256-npX1g1rvprXLEwkjE7S3hfpUCdmEnolSq4eLki9pvag=";
|
||||
};
|
||||
date = "2025-06-09";
|
||||
date = "2025-06-10";
|
||||
};
|
||||
cliphist = {
|
||||
pname = "cliphist";
|
||||
version = "f49bd905cff72d32d62c209224353865436f9a13";
|
||||
src = fetchFromGitHub {
|
||||
owner = "sentriz";
|
||||
repo = "cliphist";
|
||||
rev = "f49bd905cff72d32d62c209224353865436f9a13";
|
||||
fetchSubmodules = false;
|
||||
sha256 = "sha256-waD4AIAAlorW+UBvHKFc5dm/CqP0Fw3pygYqPX5cYNc=";
|
||||
};
|
||||
date = "2025-06-07";
|
||||
};
|
||||
dioxionary = {
|
||||
pname = "dioxionary";
|
||||
|
|
@ -92,15 +104,15 @@
|
|||
};
|
||||
rime-ice = {
|
||||
pname = "rime-ice";
|
||||
version = "b86e6147d68c229b45bb1f2a593f8b76155e964d";
|
||||
version = "5b94b7df626bffedc3fe05ee71511aa0272bfc36";
|
||||
src = fetchFromGitHub {
|
||||
owner = "iDvel";
|
||||
repo = "rime-ice";
|
||||
rev = "b86e6147d68c229b45bb1f2a593f8b76155e964d";
|
||||
rev = "5b94b7df626bffedc3fe05ee71511aa0272bfc36";
|
||||
fetchSubmodules = false;
|
||||
sha256 = "sha256-ttGHvxv6ZImn6xBifsL4bc+7Q/RvarwPwegx9pT+Hsg=";
|
||||
sha256 = "sha256-RK5togo9YEQVSUL1bpkcsHmzK1V8IMe0adFB1T2hVoI=";
|
||||
};
|
||||
date = "2025-06-06";
|
||||
date = "2025-06-09";
|
||||
};
|
||||
spotx = {
|
||||
pname = "spotx";
|
||||
|
|
|
|||
41
pkgs/cliphist.nix
Normal file
41
pkgs/cliphist.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
srcs,
|
||||
cliphist,
|
||||
imagemagick,
|
||||
wl-clipboard,
|
||||
fuzzel,
|
||||
gawk,
|
||||
gnugrep,
|
||||
lib,
|
||||
makeWrapper,
|
||||
}: let
|
||||
inherit (srcs.cliphist) src date version;
|
||||
in
|
||||
cliphist.overrideAttrs (final: prev: {
|
||||
inherit src;
|
||||
version =
|
||||
if prev.version != "0.6.1"
|
||||
then
|
||||
throw ''
|
||||
Please remove <pkgs/cliphist.nix>
|
||||
''
|
||||
else "0-unstable-${date}-git${version}";
|
||||
vendorHash = "sha256-No8d9ztepBO+fgF2XkEf/tyCPDAD57rBkzA8iVyNUmw=";
|
||||
buildInputs =
|
||||
(prev.buildInputs or [])
|
||||
++ [
|
||||
makeWrapper
|
||||
];
|
||||
postInstall = ''
|
||||
cp -t $out/bin/ $src/contrib/*
|
||||
rm $out/bin/cliphist.service
|
||||
wrapProgram $out/bin/cliphist-fuzzel-img \
|
||||
--prefix PATH : ${lib.makeBinPath [
|
||||
imagemagick
|
||||
wl-clipboard
|
||||
fuzzel
|
||||
gawk
|
||||
gnugrep
|
||||
]}
|
||||
'';
|
||||
})
|
||||
|
|
@ -22,6 +22,7 @@ in
|
|||
OuterWildsTextAdventure = callPackage ./OuterWildsTextAdventure.nix {};
|
||||
QQ = callPackage ./QQ.nix {};
|
||||
editor-runtime = callPackage ./editor-runtime.nix {};
|
||||
cliphist = callPackage ./cliphist.nix {};
|
||||
|
||||
noto-serif-cjk = callPackage ./noto-serif-cjk.nix {};
|
||||
noto-sans-cjk = callPackage ./noto-sans-cjk.nix {};
|
||||
|
|
|
|||
|
|
@ -42,3 +42,7 @@ fetch.github = "DreamMaoMao/wshowkeys"
|
|||
[OuterWildsTextAdventure]
|
||||
src.git = "https://github.com/top-mind/OuterWildsTextAdventureWeb.git"
|
||||
fetch.github = "top-mind/OuterWildsTextAdventureWeb"
|
||||
|
||||
[cliphist]
|
||||
src.git = "https://github.com/sentriz/cliphist.git"
|
||||
fetch.github = "sentriz/cliphist"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,10 @@
|
|||
{pkgs}:
|
||||
pkgs.writeShellApplication {
|
||||
{
|
||||
writeShellApplication,
|
||||
pinentry-all,
|
||||
}:
|
||||
writeShellApplication {
|
||||
name = "pinentry";
|
||||
runtimeInputs = with pkgs; [
|
||||
runtimeInputs = [
|
||||
pinentry-all
|
||||
];
|
||||
text = ''
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
pkgs,
|
||||
radicle-explorer,
|
||||
rootPath,
|
||||
}:
|
||||
(pkgs.radicle-explorer.withConfig {
|
||||
(radicle-explorer.withConfig {
|
||||
preferredSeeds = [
|
||||
{
|
||||
hostname = "seed.youthlic.fun";
|
||||
|
|
|
|||
|
|
@ -1,16 +1,20 @@
|
|||
{
|
||||
pkgs,
|
||||
spotify,
|
||||
unzip,
|
||||
zip,
|
||||
perl,
|
||||
symlinkJoin,
|
||||
srcs,
|
||||
}: let
|
||||
inherit (srcs) spotx;
|
||||
spotifyx = pkgs.spotify.overrideAttrs (final: prev: {
|
||||
spotifyx = spotify.overrideAttrs (final: prev: {
|
||||
nativeBuildInputs =
|
||||
prev.nativeBuildInputs
|
||||
++ (with pkgs; [
|
||||
++ [
|
||||
unzip
|
||||
zip
|
||||
perl
|
||||
]);
|
||||
];
|
||||
spotx = spotx.src;
|
||||
postUnpack = ''
|
||||
cp $spotx/spotx.sh ./spotx.sh
|
||||
|
|
@ -22,7 +26,7 @@
|
|||
'';
|
||||
});
|
||||
in
|
||||
pkgs.symlinkJoin {
|
||||
symlinkJoin {
|
||||
name = "spotifyx";
|
||||
paths = [spotifyx];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
pkgs,
|
||||
srcs,
|
||||
wshowkeys,
|
||||
}: let
|
||||
inherit (srcs) wshowkeys-mao;
|
||||
in
|
||||
pkgs.wshowkeys.overrideAttrs (final: prev: {
|
||||
wshowkeys.overrideAttrs (final: prev: {
|
||||
inherit (wshowkeys-mao) src;
|
||||
pname = "wshowkeys-mao";
|
||||
version = wshowkeys-mao.date + "-" + wshowkeys-mao.version;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue