summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorquentin@aristote.fr <quentin@aristote.fr>2024-12-01 23:28:17 +0100
committerquentin@aristote.fr <quentin@aristote.fr>2024-12-01 23:31:30 +0100
commit423108f606c913cd682b9a784f273f58e64810d5 (patch)
tree781522bf5505a5cce6cb535a8e0f10acdac5e049
parent260f1a98f2b335050cf11a67b60541073188b35d (diff)
upgrade to nixos 24.11
-rw-r--r--config/default.nix12
-rw-r--r--config/networking.nix6
-rw-r--r--flake.lock20
-rw-r--r--flake.nix2
4 files changed, 16 insertions, 24 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";
};
};
};
diff --git a/flake.lock b/flake.lock
index aaf62ee..242403b 100644
--- a/flake.lock
+++ b/flake.lock
@@ -24,11 +24,11 @@
"nur": "nur"
},
"locked": {
- "lastModified": 1730489304,
- "narHash": "sha256-C5E2rbwRKP6IBgMOE1wbSx4us48x013lNj8/42J3SJY=",
+ "lastModified": 1733090804,
+ "narHash": "sha256-SNHUon75+HwBGb+JtFh33zZja1jrMaYxOYJzOHBxHgc=",
"owner": "qaristote",
"repo": "my-nixpkgs",
- "rev": "2fcb411292b2bb2be84a65a4bb82b444d9856133",
+ "rev": "54ec124ae568dac37a11348ce45e6f21737ad556",
"type": "github"
},
"original": {
@@ -39,11 +39,11 @@
},
"nixos-hardware": {
"locked": {
- "lastModified": 1731332224,
- "narHash": "sha256-0ctfVp27ingWtY7dbP5+QpSQ98HaOZleU0teyHQUAw0=",
+ "lastModified": 1733066523,
+ "narHash": "sha256-aQorWITXZu7b095UwnpUvcGt9dNJie/GO9r4hZfe2sU=",
"owner": "NixOS",
"repo": "nixos-hardware",
- "rev": "184687ae1a3139faa4746168baf071f60d0310c8",
+ "rev": "fe01780d356d70fd119a19277bff71d3e78dad00",
"type": "github"
},
"original": {
@@ -79,16 +79,16 @@
},
"nixpkgs_2": {
"locked": {
- "lastModified": 1730891215,
- "narHash": "sha256-i85DPrhDuvzgvIWCpJlbfM2UFtNYbapo20MtQXsvay4=",
+ "lastModified": 1732981179,
+ "narHash": "sha256-F7thesZPvAMSwjRu0K8uFshTk3ZZSNAsXTIFvXBT+34=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "c128e44a249d6180740d0a979b6480d5b795c013",
+ "rev": "62c435d93bf046a5396f3016472e8f7c8e2aed65",
"type": "github"
},
"original": {
"owner": "NixOS",
- "ref": "release-24.05",
+ "ref": "nixos-24.11",
"repo": "nixpkgs",
"type": "github"
}
diff --git a/flake.nix b/flake.nix
index 47212a4..6ed2317 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,7 +1,7 @@
{
inputs = {
my-nixpkgs.url = "github:qaristote/my-nixpkgs";
- nixpkgs.url = "github:NixOS/nixpkgs/release-24.05";
+ nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
};
outputs = {