summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authoraristote <quentin.aristote@irif.fr>2025-08-12 15:56:21 +0200
committeraristote <quentin.aristote@irif.fr>2025-08-12 16:00:19 +0200
commit2080cf54332f4a728e3e233d4b2221b6eb1a6e29 (patch)
tree3fd5cf243ba336b3c9f62c71ff617fce9ae2ec1d /flake.nix
parente2681fa192320d7731bce2f4f415758b46ae91dd (diff)
flake.lock: Update (data update)
Flake lock file updates: • Updated input 'data': 'github:qaristote/info/9749429636e7e5e2515f1c75d228d5321907fba4' (2025-07-27) → 'github:qaristote/info/e22c29e4d972e07fc64fd867aa6ccbd293373a33' (2025-08-12) • Updated input 'flake-parts': 'github:hercules-ci/flake-parts/644e0fc48951a860279da645ba77fe4a6e814c5e' (2025-07-21) → 'github:hercules-ci/flake-parts/af66ad14b28a127c5c0f3bbb298218fc63528a18' (2025-08-06) • Updated input 'flake-parts/nixpkgs-lib': 'github:nix-community/nixpkgs.lib/14a40a1d7fb9afa4739275ac642ed7301a9ba1ab' (2025-06-29) → 'github:nix-community/nixpkgs.lib/0f36c44e01a6129be94e3ade315a5883f0228a6e' (2025-07-27) • Updated input 'my-nixpkgs': 'github:qaristote/my-nixpkgs/2a8763191aed7bc2db4fc478804d80420c542b3b' (2025-07-22) → 'github:qaristote/my-nixpkgs/a8023c066698c2b4b2f8a57425fac196ee021d57' (2025-08-12) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/6027c30c8e9810896b92429f0092f624f7b1aace' (2025-07-25) → 'github:NixOS/nixpkgs/372d9eeeafa5b15913201e2b92e8e539ac7c64d1' (2025-08-12)
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix71
1 files changed, 39 insertions, 32 deletions
diff --git a/flake.nix b/flake.nix
index 0c53855..361b7a0 100644
--- a/flake.nix
+++ b/flake.nix
@@ -2,7 +2,7 @@
description = "Source code of Quentin Aristote's personal webpage.";
inputs = {
- data.url = "github:qaristote/info/new-pub-format";
+ data.url = "github:qaristote/info";
my-nixpkgs.url = "github:qaristote/my-nixpkgs";
uncss = {
url = "github:qaristote/uncss";
@@ -10,40 +10,47 @@
nixpkgs.follows = "/nixpkgs";
};
};
- nixpkgs = {};
+ nixpkgs = { };
};
- outputs = {
- flake-parts,
- my-nixpkgs,
- ...
- } @ inputs:
- flake-parts.lib.mkFlake {inherit inputs;} ({lib, ...}: {
- imports = builtins.attrValues {inherit (my-nixpkgs.flakeModules) personal;};
+ outputs =
+ {
+ flake-parts,
+ my-nixpkgs,
+ ...
+ }@inputs:
+ flake-parts.lib.mkFlake { inherit inputs; } (
+ { lib, ... }:
+ {
+ imports = builtins.attrValues { inherit (my-nixpkgs.flakeModules) personal; };
- flake.lib = import ./lib {inherit lib;};
+ flake.lib = import ./lib { inherit lib; };
- perSystem = {
- self',
- pkgs,
- system,
- ...
- }: let
- pkgs' = pkgs.extend (
- _: _: {
- uncss = inputs.uncss.packages."${system}".default;
- line-awesome-css = my-nixpkgs.packages."${system}".static_css_lineAwesome;
- }
- );
- in {
- packages = {
- default = self'.packages.webpage;
- webpage = pkgs'.callPackage ./default.nix {
- nixpkgsSrc = inputs.nixpkgs.outPath;
- src = pkgs'.callPackage ./src.nix {};
- data = inputs.data.packages."${system}".src;
+ perSystem =
+ {
+ self',
+ pkgs,
+ system,
+ ...
+ }:
+ let
+ pkgs' = pkgs.extend (
+ _: _: {
+ uncss = inputs.uncss.packages."${system}".default;
+ line-awesome-css = my-nixpkgs.packages."${system}".static_css_lineAwesome;
+ }
+ );
+ in
+ {
+ packages = {
+ default = self'.packages.webpage;
+ webpage = pkgs'.callPackage ./default.nix {
+ nixpkgsSrc = inputs.nixpkgs.outPath;
+ src = pkgs'.callPackage ./src.nix { };
+ data = inputs.data.packages."${system}".src;
+ };
+ };
};
- };
- };
- });
+ }
+ );
}