nixos: backend server

This commit is contained in:
Antoine Thouvenin 2022-08-06 22:31:18 +02:00 committed by Pierre-Olivier Mercier
parent 83be5595ba
commit 643ecb1e14
24 changed files with 542 additions and 5 deletions

13
nixos/configuration.nix Normal file
View file

@ -0,0 +1,13 @@
{ config, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
./locale.nix
./network.nix
./packages.nix
./registry.nix
./users.nix
] ++ (if (import ../config-var.nix).efi then [ ./efi.nix ] else [ ./bios.nix ]);
system.stateVersion = "22.05";
}