Fediversity/infra/common/nixos/default.nix
Kiara Grouwstra c296bdab0a
deploy separate operator applications thru data model
Signed-off-by: Kiara Grouwstra <kiara@procolix.eu>
2025-11-22 17:55:10 +01:00

33 lines
729 B
Nix

{ lib, ... }:
let
inherit (lib) mkDefault;
in
{
_class = "nixos";
imports = [
./boot.nix
./disks.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";
nix = {
gc.automatic = mkDefault true;
## Not used; save a large copy operation
channel.enable = false;
## 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.
extraOptions = ''
experimental-features = nix-command flakes
'';
};
}