[NixOS] Add make-enable to control nixos modules with configuration
This commit is contained in:
@@ -1,5 +1,16 @@
|
||||
{ inputs, ... }:
|
||||
{ inputs, specialArgs, config, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.home-manager.nixosModule
|
||||
];
|
||||
home-manager.extraSpecialArgs = {
|
||||
nixos = {
|
||||
inherit specialArgs config;
|
||||
};
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
|
||||
nix = {
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
|
||||
Reference in New Issue
Block a user