rename plusultra to metacfg
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
parent
b22607a4df
commit
04f08d679e
48 changed files with 149 additions and 149 deletions
|
@ -1,16 +1,16 @@
|
|||
{ options, config, pkgs, lib, inputs, ... }:
|
||||
|
||||
with lib;
|
||||
with lib.plusultra;
|
||||
with lib.metacfg;
|
||||
let
|
||||
cfg = config.plusultra.home;
|
||||
cfg = config.metacfg.home;
|
||||
in
|
||||
{
|
||||
# imports = with inputs; [
|
||||
# home-manager.darwinModules.home-manager
|
||||
# ];
|
||||
|
||||
options.plusultra.home = with types; {
|
||||
options.metacfg.home = with types; {
|
||||
file = mkOpt attrs { }
|
||||
"A set of files to be managed by home-manager's <option>home.file</option>.";
|
||||
configFile = mkOpt attrs { }
|
||||
|
@ -20,21 +20,21 @@ in
|
|||
};
|
||||
|
||||
config = {
|
||||
plusultra.home.extraOptions = {
|
||||
metacfg.home.extraOptions = {
|
||||
home.stateVersion = mkDefault "23.11";
|
||||
home.file = mkAliasDefinitions options.plusultra.home.file;
|
||||
home.file = mkAliasDefinitions options.metacfg.home.file;
|
||||
xdg.enable = true;
|
||||
xdg.configFile = mkAliasDefinitions options.plusultra.home.configFile;
|
||||
xdg.configFile = mkAliasDefinitions options.metacfg.home.configFile;
|
||||
};
|
||||
|
||||
snowfallorg.users.${config.plusultra.user.name}.home.config = mkAliasDefinitions options.plusultra.home.extraOptions;
|
||||
snowfallorg.users.${config.metacfg.user.name}.home.config = mkAliasDefinitions options.metacfg.home.extraOptions;
|
||||
|
||||
home-manager = {
|
||||
useUserPackages = true;
|
||||
useGlobalPkgs = true;
|
||||
|
||||
# users.${config.plusultra.user.name} = args:
|
||||
# mkAliasDefinitions options.plusultra.home.extraOptions;
|
||||
# users.${config.metacfg.user.name} = args:
|
||||
# mkAliasDefinitions options.metacfg.home.extraOptions;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue