From d5daa0f24954ccf218986e1e57f628262fc47a18 Mon Sep 17 00:00:00 2001 From: "quentin@aristote.fr" Date: Sun, 10 Nov 2024 19:52:09 +0100 Subject: initial commit --- config/default.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 config/default.nix (limited to 'config/default.nix') diff --git a/config/default.nix b/config/default.nix new file mode 100644 index 0000000..07ec68d --- /dev/null +++ b/config/default.nix @@ -0,0 +1,24 @@ +{modulesPath, ...}: { + imports = [ + (modulesPath + "/profiles/headless.nix") + (modulesPath + "/profiles/minimal.nix") + ./boot.nix + ./environment.nix + ./networking.nix + ./nix.nix + ./services + ./users.nix + ]; + + # needed so that the server doesn't rebuild big packages + # originally enabled in modulesPath + profiles/minimal.nix + environment.noXlibs = false; + + # This value determines the NixOS release from which the default + # settings for stateful data, like file locations and database versions + # on your system were taken. It‘s perfectly fine and recommended to leave + # this value at the release version of the first install of this system. + # Before changing this value read the documentation for this option + # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). + system.stateVersion = "24.05"; # Did you read the comment? +} -- cgit v1.2.3