flake: unbreak nix flake check

This commit is contained in:
Guanran Wang 2024-07-12 07:59:21 +08:00
parent 9f1ad06daa
commit 2fd28cab95
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF
3 changed files with 20 additions and 22 deletions

View file

@ -144,7 +144,7 @@
checks = {formatting = treefmtEval.config.build.check inputs.self;}; checks = {formatting = treefmtEval.config.build.check inputs.self;};
### nix {run,shell,build} ### nix {run,shell,build}
packages = import ./pkgs pkgs; legacyPackages = import ./pkgs pkgs;
### nix develop ### nix develop
devShells.default = pkgs.mkShell { devShells.default = pkgs.mkShell {

View file

@ -30,27 +30,25 @@
''; '';
home.packages = home.packages =
( (with pkgs; [
with pkgs; [ amberol
amberol dconf-editor
dconf-editor file-roller
file-roller fractal
fractal gnome-calculator
gnome-calculator hyperfine
hyperfine loupe
loupe mousai
mousai seahorse
seahorse
(prismlauncher.override { (prismlauncher.override {
glfw = glfw-wayland-minecraft; glfw = glfw-wayland-minecraft;
gamemodeSupport = false; gamemodeSupport = false;
}) })
mumble mumble
osu-lazer-bin osu-lazer-bin
] ])
) ++ (with inputs.self.legacyPackages.${pkgs.stdenv.hostPlatform.system}.scripts; [
++ (with inputs.self.packages.${pkgs.stdenv.hostPlatform.system}.scripts; [
lofi lofi
]); ]);

View file

@ -10,7 +10,7 @@ in {
options.services.pixivfe = { options.services.pixivfe = {
enable = lib.mkEnableOption "PixivFE, a privacy respecting frontend for Pixiv"; enable = lib.mkEnableOption "PixivFE, a privacy respecting frontend for Pixiv";
package = lib.mkPackageOption inputs.self.packages.${pkgs.stdenv.hostPlatform.system} "pixivfe" {}; package = lib.mkPackageOption inputs.self.legacyPackages.${pkgs.stdenv.hostPlatform.system} "pixivfe" {};
openFirewall = lib.mkEnableOption "open ports in the firewall needed for the daemon to function"; openFirewall = lib.mkEnableOption "open ports in the firewall needed for the daemon to function";