summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/default.nix12
-rw-r--r--config/networking.nix6
2 files changed, 5 insertions, 13 deletions
diff --git a/config/default.nix b/config/default.nix
index 9ddb7db..3d511f9 100644
--- a/config/default.nix
+++ b/config/default.nix
@@ -1,4 +1,4 @@
-{lib, modulesPath, ...}: {
+{modulesPath, ...}: {
imports = [
# (modulesPath + "/profiles/headless.nix")
(modulesPath + "/profiles/minimal.nix")
@@ -11,19 +11,11 @@
./users.nix
];
- # needed so that the server doesn't rebuild big packages
- # 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
# 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?
+ system.stateVersion = "24.11"; # Did you read the comment?
}
diff --git a/config/networking.nix b/config/networking.nix
index 09987b8..4de42c9 100644
--- a/config/networking.nix
+++ b/config/networking.nix
@@ -11,10 +11,10 @@
wireless = {
enable = true;
- environmentFile = "/etc/wpa_supplicant/secrets.env";
+ secretsFile = "/etc/wpa_supplicant/secrets";
networks.Quentintranet = {
- authProtocols = [ "SAE" ];
- psk = "@PSK@";
+ authProtocols = ["SAE"];
+ pskRaw = "ext:psk";
};
};
};