1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-08-02 05:57:46 +00:00

Fix flake, don't redeclate same option,

also update Cargo.nix
This commit is contained in:
RGBCube 2023-12-30 14:42:22 +03:00
parent 9b49fc523a
commit 80b2066222
No known key found for this signature in database
3 changed files with 214 additions and 46 deletions

View file

@ -40,8 +40,10 @@
packages = [ cargo2nix.packages.${system}.default ];
};
packages.${system}.site = rustPackages.workspace.site {};
packages.${system}.default = self.packages.${system}.site;
packages = rec {
site = rustPackages.workspace.site {};
default = site;
};
nixosModules.default = { config, lib, pkgs, ... }: with lib; let
cfg = config.services.site;