summaryrefslogtreecommitdiff
path: root/config/default.nix
diff options
context:
space:
mode:
authorquentin@aristote.fr <quentin@aristote.fr>2024-11-18 18:01:24 +0100
committerquentin@aristote.fr <quentin@aristote.fr>2024-11-18 18:01:24 +0100
commit4e5ea1832a1ebeaea2b99d93cb3532f01f356610 (patch)
treedcb00e5d4cc6a934ebf65d20128994fea7aa4ccc /config/default.nix
parentd5daa0f24954ccf218986e1e57f628262fc47a18 (diff)
initial configuration
Diffstat (limited to 'config/default.nix')
-rw-r--r--config/default.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/config/default.nix b/config/default.nix
index 07ec68d..9ddb7db 100644
--- a/config/default.nix
+++ b/config/default.nix
@@ -1,9 +1,10 @@
-{modulesPath, ...}: {
+{lib, modulesPath, ...}: {
imports = [
- (modulesPath + "/profiles/headless.nix")
+ # (modulesPath + "/profiles/headless.nix")
(modulesPath + "/profiles/minimal.nix")
./boot.nix
./environment.nix
+ ./hardware
./networking.nix
./nix.nix
./services
@@ -14,6 +15,10 @@
# originally enabled in modulesPath + profiles/minimal.nix
environment.noXlibs = false;
+ # re-enable console
+ # disabled by headless profile
+ # systemd.services."getty@tty1".enable = lib.mkForce true;
+
# 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