cerulean/flake.nix

62 lines
1.6 KiB
Nix
Raw Normal View History

2025-12-14 14:02:06 +10:00
# Copyright 2025 Emile Clark-Boman
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
2025-12-13 09:30:20 +10:00
{
description = "Your Nix Cloud Simplified";
inputs = {
2025-12-13 13:24:37 +10:00
systems.url = "github:nix-systems/default";
2025-12-13 09:30:20 +10:00
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
2025-12-13 13:24:37 +10:00
nib = {
2026-01-16 11:10:53 +10:00
url = "github:emilelcb/nib";
# url = "/home/me/agribit/nexus/nib";
inputs.systems.follows = "systems";
2025-12-13 13:24:37 +10:00
};
2026-01-15 13:15:32 +10:00
mix = {
2026-01-16 11:10:53 +10:00
url = "github:emilelcb/mix";
# url = "/home/me/agribit/nexus/mix";
2026-01-15 13:15:32 +10:00
inputs.nib.follows = "nib";
};
2026-01-15 12:49:41 +10:00
2025-12-13 13:24:37 +10:00
deploy-rs.url = "github:serokell/deploy-rs";
2025-12-13 09:30:20 +10:00
};
2025-12-13 13:24:37 +10:00
outputs = {
2025-12-13 09:30:20 +10:00
self,
nixpkgs,
2025-12-13 13:24:37 +10:00
nixpkgs-unstable,
nib,
2025-12-13 09:30:20 +10:00
...
2025-12-14 21:37:20 +10:00
} @ inputs: let
inherit
(nixpkgs)
lib
;
2025-12-14 21:37:20 +10:00
sys = nib.mkUSys {
pkgs = nib.withPkgs nixpkgs {
config.allowUnfree = false;
overlays = builtins.attrValues self.overlays;
};
upkgs = nib.withPkgs nixpkgs-unstable {
config.allowUnfree = false;
};
};
in
import ./cerulean <| inputs // {inherit lib sys;};
2025-12-13 09:30:20 +10:00
}