From 680b0781c5de1e5aefd8c5f3431b19c502a85f74 Mon Sep 17 00:00:00 2001 From: Mat Jones Date: Sun, 24 Nov 2024 16:53:47 -0500 Subject: [PATCH] fix(nix): Fix option names --- hosts/laptop/default.nix | 18 ++++++++++++++++++ nixos-modules/common.nix | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/hosts/laptop/default.nix b/hosts/laptop/default.nix index 781764eb..e3b44373 100644 --- a/hosts/laptop/default.nix +++ b/hosts/laptop/default.nix @@ -39,4 +39,22 @@ efi.canTouchEfiVariables = true; }; }; + + # This option defines the first version of NixOS you have installed on this particular machine, + # and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions. + # + # Most users should NEVER change this value after the initial install, for any reason, + # even if you've upgraded your system to a new NixOS release. + # + # This value does NOT affect the Nixpkgs version your packages and OS are pulled from, + # so changing it will NOT upgrade your system. + # + # This value being lower than the current NixOS release does NOT mean your system is + # out of date, out of support, or vulnerable. + # + # Do NOT change this value unless you have manually inspected all the changes it would make to your configuration, + # and migrated your data accordingly. + # + # For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion . + system.stateVersion = "25.05"; } diff --git a/nixos-modules/common.nix b/nixos-modules/common.nix index 6f34bd1c..d0d3558c 100644 --- a/nixos-modules/common.nix +++ b/nixos-modules/common.nix @@ -1,7 +1,7 @@ { pkgs, lib, ... }: { nix = { package = lib.mkDefault pkgs.nix; - trustedUsers = [ "mat" ]; + settings.trusted-users = [ "mat" ]; extraOptions = '' keep-outputs = true keep-derivations = true