summaryrefslogtreecommitdiff
path: root/flake.nix
blob: 47e017275e2f80859fc34d8ff9fb559ed5dc7eb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
  description = "kassouni.net server";

  inputs = {
    nixpkgs.url = "https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.zst";
  };

  outputs = inputs: {
    nixosConfigurations.kassouni-net = inputs.nixpkgs.lib.nixosSystem {
      modules = [ ./configuration.nix ];
    };

    devShells = builtins.mapAttrs (system: pkgs: {
      default = pkgs.mkShell {
        packages = [ pkgs.just ];
      };
    }) inputs.nixpkgs.legacyPackages;
  };
}