From 423108f606c913cd682b9a784f273f58e64810d5 Mon Sep 17 00:00:00 2001 From: "quentin@aristote.fr" Date: Sun, 1 Dec 2024 23:28:17 +0100 Subject: upgrade to nixos 24.11 --- config/default.nix | 12 ++---------- config/networking.nix | 6 +++--- 2 files changed, 5 insertions(+), 13 deletions(-) (limited to 'config') 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"; }; }; }; -- cgit v1.2.3