mirror of
https://github.com/EdenQwQ/nixos.git
synced 2026-07-16 22:16:51 +08:00
refactor wallpaper
This commit is contained in:
parent
c33286e661
commit
f9ff6c6bc4
7 changed files with 68 additions and 53 deletions
|
|
@ -35,6 +35,8 @@
|
|||
ALL_PROXY = "http://127.0.0.1:7890";
|
||||
HTTP_PROXY = "http://127.0.0.1:7890";
|
||||
HTTPS_PROXY = "http://127.0.0.1:7890";
|
||||
http_PROXY = "http://127.0.0.1:7890";
|
||||
https_PROXY = "http://127.0.0.1:7890";
|
||||
NIXPKGS_ALLOW_UNFREE = "1";
|
||||
NIXPKGS_ALLOW_INSECURE = "1";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -30,7 +30,8 @@ let
|
|||
// (
|
||||
if path == null then
|
||||
{
|
||||
path = "${pkgs.wallpapers}/${name}";
|
||||
path =
|
||||
pkgs.wallpapers.byName.${name} or (throw "Wallpaper '${name}' not found in pkgs.wallpapers.byName");
|
||||
}
|
||||
else
|
||||
{ inherit path; }
|
||||
|
|
|
|||
|
|
@ -59,6 +59,11 @@ let
|
|||
NetworkComparisonTest
|
||||
rPackages.pls
|
||||
rPackages.MASS
|
||||
igraph
|
||||
ggraph
|
||||
tidygraph
|
||||
corrr
|
||||
relaimpo
|
||||
(buildRPackage {
|
||||
name = "eegUtils";
|
||||
src = fetchFromGitHub {
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
input = {
|
||||
focus-follows-mouse.enable = true;
|
||||
touchpad.natural-scroll = false;
|
||||
touchpad.dwt = false;
|
||||
touchpad.dwt = true;
|
||||
keyboard.xkb.options = "caps:escape";
|
||||
};
|
||||
environment = {
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
{
|
||||
name = "frieren-butterflies-hydrogen.jpg";
|
||||
baseImageName = "frieren-butterflies";
|
||||
path = "${pkgs.wallpapers}/frieren-butterflies.jpg";
|
||||
path = pkgs.wallpapers.byName."frieren-butterflies.jpg";
|
||||
convertMethod = "lutgen";
|
||||
effects = {
|
||||
hydrogen = {
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
{
|
||||
name = "bangqiaoyan-girl-sky-hydrogen.jpg";
|
||||
baseImageName = "bangqiaoyan-girl-sky";
|
||||
path = "${pkgs.wallpapers}/bangqiaoyan-girl-sky.jpg";
|
||||
path = pkgs.wallpapers.byName."bangqiaoyan-girl-sky.jpg";
|
||||
convertMethod = "gonord";
|
||||
effects.hydrogen.enable = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue