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 05183b75b4
commit e60c8498c0
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,
...
}:
with lib;
{
imports = [
../../modules/homes
@ -21,5 +24,14 @@
# Let Home Manager install and manage itself
programs.home-manager.enable = true;
nix.settings.allowed-users = [ "josh" ];
nix = {
package = mkDefault pkgs.nix;
settings = {
allowed-users = [ "josh" ];
experimental-features = [
"nix-command"
"flakes"
];
};
};
}