Maybe fix nix.package not being declared for home-manager

This commit is contained in:
Joshua Yuen 2026-01-21 15:54:02 -05:00
parent a27e2495d3
commit 69e3c2528d
Signed by: josh
GPG Key ID: 502720BC22ED411C
1 changed files with 13 additions and 1 deletions

View File

@ -1,7 +1,10 @@
{ {
lib,
pkgs,
profile, profile,
... ...
}: }:
with lib;
{ {
imports = [ imports = [
../../modules/homes ../../modules/homes
@ -21,5 +24,14 @@
# Let Home Manager install and manage itself # Let Home Manager install and manage itself
programs.home-manager.enable = true; programs.home-manager.enable = true;
nix.settings.allowed-users = [ "josh" ]; nix = {
package = mkDefault pkgs.nix;
settings = {
allowed-users = [ "josh" ];
experimental-features = [
"nix-command"
"flakes"
];
};
};
} }