forked from Fediversity/Fediversity
28 lines
665 B
Nix
28 lines
665 B
Nix
{ lib, ... }:
|
|
|
|
let
|
|
inherit (lib) mkDefault;
|
|
sources = import ../../../npins;
|
|
|
|
in
|
|
{
|
|
imports = [
|
|
./hardware.nix
|
|
./networking.nix
|
|
./users.nix
|
|
];
|
|
|
|
time.timeZone = "Europe/Amsterdam";
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
system.stateVersion = "24.05"; # do not change
|
|
nixpkgs.hostPlatform = mkDefault "x86_64-linux";
|
|
|
|
## This is just nice to have, but it is also particularly important for the
|
|
## Forgejo CI runners because the Nix configuration in the actions is directly
|
|
## taken from here.
|
|
nix.extraOptions = ''
|
|
experimental-features = nix-command flakes
|
|
'';
|
|
|
|
nix.nixPath = lib.mapAttrsToList (k: v: k + "=" + v) sources;
|
|
}
|