Skip to content

Commit

Permalink
fix(nix): Fix option names
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Nov 24, 2024
1 parent 9437645 commit 680b078
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions hosts/laptop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
2 changes: 1 addition & 1 deletion nixos-modules/common.nix
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 680b078

Please sign in to comment.