working updates
This commit is contained in:
13
flake.nix
13
flake.nix
@@ -22,7 +22,6 @@
|
||||
options.user = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
description = "The username for the Home Manager configuration.";
|
||||
# default = "john";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -49,16 +48,18 @@
|
||||
|
||||
# Export the function so other flakes can create configurations for any user
|
||||
lib = {
|
||||
mkHomeConfiguration = mkHomeConfiguration;
|
||||
mkHomeConfigurationForUser = username: mkHomeConfiguration username;
|
||||
mkHomeConfiguration = username: mkHomeConfiguration username;
|
||||
};
|
||||
|
||||
# Export modules for reuse in other flakes
|
||||
homeManagerModules = {
|
||||
default = { ... }: {
|
||||
inherit pkgs;
|
||||
modules = [ ./home.nix optionsModule ];
|
||||
default = ./home.nix;
|
||||
options-module = optionsModule;
|
||||
};
|
||||
|
||||
# Export packages if you have any custom ones
|
||||
packages.${system} = {
|
||||
# Add any custom packages here
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user