aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 05ea6bf..7c3b59d 100644
--- a/flake.nix
+++ b/flake.nix
@@ -9,9 +9,15 @@
outputs = inputs: {
nixosConfigurations.kassouni-net = inputs.nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
- modules = [ ./nix/configuration.nix ];
+ modules = [ ./configuration.nix ];
};
+ packages = builtins.mapAttrs (system: pkgs: rec {
+ website = import ./nix/site.nix { inherit pkgs; };
+ cgit-theme = import ./git/theme.nix { inherit pkgs; };
+ default = website;
+ }) inputs.nixpkgs.legacyPackages;
+
devShells = builtins.mapAttrs (system: pkgs: {
default = pkgs.mkShell {
packages = with pkgs; [