summaryrefslogtreecommitdiff
path: root/iso.nix
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2021-03-28 00:24:28 +0100
committerJulian T <julian@jtle.dk>2021-03-28 00:24:28 +0100
commitdedff3809b3d0bca1ad309cfb6e7648b029485f4 (patch)
tree2c56d1e81e11396e09d27efeb56b08cbf4a33061 /iso.nix
parentea6c7b65ba32b4be09ef4c7a8532b239c03f120d (diff)
Move more things from core to desktop, and add iso file
Diffstat (limited to 'iso.nix')
-rw-r--r--iso.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/iso.nix b/iso.nix
new file mode 100644
index 0000000..0396651
--- /dev/null
+++ b/iso.nix
@@ -0,0 +1,17 @@
+# This module defines a small NixOS installation CD. It does not
+# contain any graphical stuff.
+{config, pkgs, ...}:
+{
+ imports = [
+ <nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix>
+
+ # Provide an initial copy of the NixOS channel so that the user
+ # doesn't need to run "nix-channel --update" first.
+ <nixpkgs/nixos/modules/installer/cd-dvd/channel.nix>
+
+ ./core.nix
+
+ # Include extra stuff for specific pc etc.
+ # ./pc_t14.nix
+ ];
+}