mirror of
https://github.com/EdenQwQ/nixos.git
synced 2026-07-16 22:16:51 +08:00
downgrade R
This commit is contained in:
parent
aa4dc038cb
commit
26fb9da737
5 changed files with 26 additions and 6 deletions
17
flake.lock
generated
17
flake.lock
generated
|
|
@ -962,6 +962,22 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs-r": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1767313136,
|
||||||
|
"narHash": "sha256-16KkgfdYqjaeRGBaYsNrhPRRENs0qzkQVUooNHtoy2w=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "ac62194c3917d5f474c1a844b6fd6da2db95077d",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-25.05",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs-stable": {
|
"nixpkgs-stable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771419570,
|
"lastModified": 1771419570,
|
||||||
|
|
@ -1523,6 +1539,7 @@
|
||||||
"nixGL": "nixGL",
|
"nixGL": "nixGL",
|
||||||
"nixd": "nixd",
|
"nixd": "nixd",
|
||||||
"nixpkgs": "nixpkgs_14",
|
"nixpkgs": "nixpkgs_14",
|
||||||
|
"nixpkgs-r": "nixpkgs-r",
|
||||||
"nixpkgs-stable": "nixpkgs-stable_2",
|
"nixpkgs-stable": "nixpkgs-stable_2",
|
||||||
"nixpkgs-wayland": "nixpkgs-wayland",
|
"nixpkgs-wayland": "nixpkgs-wayland",
|
||||||
"nixvim": "nixvim",
|
"nixvim": "nixvim",
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,7 @@
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.11";
|
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.11";
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
||||||
|
nixpkgs-r.url = "github:NixOS/nixpkgs/nixos-25.05";
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager/master";
|
url = "github:nix-community/home-manager/master";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
|
||||||
|
|
@ -5,11 +5,11 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
pkgs-stable = inputs.nixpkgs-stable.legacyPackages.${pkgs.stdenv.hostPlatform.system};
|
pkgs-r = inputs.nixpkgs-r.legacyPackages.${pkgs.stdenv.hostPlatform.system};
|
||||||
colors = config.lib.stylix.colors.withHashtag;
|
colors = config.lib.stylix.colors.withHashtag;
|
||||||
rPkgs =
|
rPkgs =
|
||||||
with pkgs-stable.rPackages;
|
with pkgs-r.rPackages;
|
||||||
with pkgs-stable;
|
with pkgs-r;
|
||||||
[
|
[
|
||||||
ggplot2
|
ggplot2
|
||||||
dplyr
|
dplyr
|
||||||
|
|
@ -99,10 +99,10 @@ let
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
myR = pkgs-stable.rWrapper.override {
|
myR = pkgs-r.rWrapper.override {
|
||||||
packages = rPkgs;
|
packages = rPkgs;
|
||||||
};
|
};
|
||||||
myRstudio = pkgs-stable.rstudioWrapper.override {
|
myRstudio = pkgs-r.rstudioWrapper.override {
|
||||||
packages = rPkgs;
|
packages = rPkgs;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
|
||||||
|
|
@ -33,6 +33,7 @@ let
|
||||||
# awww restore --namespace "backdrop"
|
# awww restore --namespace "backdrop"
|
||||||
mihomo -d ~/.config/clash &
|
mihomo -d ~/.config/clash &
|
||||||
wlsunset -s 00:00 -S 00:00 -t 5000 -T 5001 &
|
wlsunset -s 00:00 -S 00:00 -t 5000 -T 5001 &
|
||||||
|
sleep 0.2
|
||||||
''
|
''
|
||||||
+ (
|
+ (
|
||||||
builtins.attrNames config.monitors
|
builtins.attrNames config.monitors
|
||||||
|
|
@ -54,7 +55,7 @@ let
|
||||||
caelestia scheme set -n dynamic -m dark
|
caelestia scheme set -n dynamic -m dark
|
||||||
''
|
''
|
||||||
else
|
else
|
||||||
''''
|
""
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
permittedInsecurePackages = [
|
permittedInsecurePackages = [
|
||||||
"openssl-1.1.1w"
|
"openssl-1.1.1w"
|
||||||
"electron-19.1.9"
|
"electron-19.1.9"
|
||||||
|
"electron-36.9.5"
|
||||||
];
|
];
|
||||||
allowUnsupportedSystem = true;
|
allowUnsupportedSystem = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue