summaryrefslogtreecommitdiff
path: root/config/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'config/default.nix')
-rw-r--r--config/default.nix24
1 files changed, 24 insertions, 0 deletions
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?
+}