aboutsummaryrefslogtreecommitdiff
path: root/nixos/flake/system/core.nix.org
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/flake/system/core.nix.org')
-rw-r--r--nixos/flake/system/core.nix.org21
1 files changed, 21 insertions, 0 deletions
diff --git a/nixos/flake/system/core.nix.org b/nixos/flake/system/core.nix.org
new file mode 100644
index 0000000..e909198
--- /dev/null
+++ b/nixos/flake/system/core.nix.org
@@ -0,0 +1,21 @@
+#+title: System Core
+
+This file imports various system configuration components in addition to enabling flakes and defining the system version.
+#+begin_src nix :tangle ~/.flake/system/core.nix :mkdirp yes
+{ config, lib, pkgs, ... }:
+
+{
+ imports = [
+ ./boot.nix
+ ./desktop.nix
+ ./hardware-configuration.nix
+ ./locale.nix
+ ./network.nix
+ ./users.nix
+ ];
+
+ nix.settings.experimental-features = [ "nix-command" "flakes" ];
+
+ system.stateVersion = "24.05";
+}
+#+end_src