mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-20 09:00:41 +03:00
21 lines
483 B
Nix
21 lines
483 B
Nix
![]() |
{
|
||
|
network = {
|
||
|
description = "Legacy Network using <nixpkgs> and legacy state.";
|
||
|
# NB this is not really what makes it a legacy network; lack of flakes is.
|
||
|
storage.legacy = { };
|
||
|
};
|
||
|
server =
|
||
|
{ lib, pkgs, ... }:
|
||
|
{
|
||
|
deployment.targetEnv = "none";
|
||
|
imports = [
|
||
|
./base-configuration.nix
|
||
|
(lib.modules.importJSON ./server-network.json)
|
||
|
];
|
||
|
environment.systemPackages = [
|
||
|
pkgs.hello
|
||
|
pkgs.figlet
|
||
|
];
|
||
|
};
|
||
|
}
|