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
|
@ -5,11 +5,11 @@
|
|||
, ...
|
||||
}:
|
||||
with lib;
|
||||
with lib.plusultra; let
|
||||
cfg = config.plusultra.nix;
|
||||
with lib.metacfg; let
|
||||
cfg = config.metacfg.nix;
|
||||
in
|
||||
{
|
||||
options.plusultra.nix = with types; {
|
||||
options.metacfg.nix = with types; {
|
||||
enable = mkBoolOpt true "Whether or not to manage nix configuration.";
|
||||
package = mkOpt package pkgs.nixUnstable "Which nix package to use.";
|
||||
};
|
||||
|
@ -24,7 +24,7 @@ in
|
|||
|
||||
nix =
|
||||
let
|
||||
users = [ "root" config.plusultra.user.name ];
|
||||
users = [ "root" config.metacfg.user.name ];
|
||||
in
|
||||
{
|
||||
package = cfg.package;
|
||||
|
@ -53,7 +53,7 @@ in
|
|||
extra-nix-path = "nixpkgs=flake:nixpkgs";
|
||||
build-users-group = "nixbld";
|
||||
};
|
||||
#// (lib.optionalAttrs config.plusultra.tools.direnv.enable {
|
||||
#// (lib.optionalAttrs config.metacfg.tools.direnv.enable {
|
||||
# keep-outputs = true;
|
||||
# keep-derivations = true;
|
||||
#});
|
||||
|
@ -62,7 +62,7 @@ in
|
|||
automatic = true;
|
||||
interval = { Day = 7; };
|
||||
options = "--delete-older-than 30d";
|
||||
user = config.plusultra.user.name;
|
||||
user = config.metacfg.user.name;
|
||||
};
|
||||
|
||||
# flake-utils-plus
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue