hosts/{apeturescience,cityseventeen}: init apeturescience, change font and size in cityseventeen
This commit is contained in:
parent
ea7dd98c09
commit
717a0b8a21
35 changed files with 1234 additions and 91 deletions
|
@ -6,7 +6,7 @@
|
|||
}:
|
||||
let
|
||||
inherit (lib.options) mkOption mkPackageOption mkEnableOption;
|
||||
inherit (lib.modules) mkIf mkMerge;
|
||||
inherit (lib.modules) mkIf;
|
||||
inherit (lib.types) nullOr str;
|
||||
cfg = config.alqueva.shells.nushell;
|
||||
in
|
||||
|
@ -21,18 +21,13 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable (mkMerge [
|
||||
{
|
||||
environment = {
|
||||
systemPackages = [ cfg.package ];
|
||||
shells = [
|
||||
(lib.getExe' cfg.package "nu")
|
||||
"/run/current-system/sw/bin/nu"
|
||||
];
|
||||
};
|
||||
}
|
||||
(mkIf (cfg.config != null) {
|
||||
environment.systemPackages = [ ];
|
||||
})
|
||||
]);
|
||||
config = mkIf cfg.enable {
|
||||
environment = {
|
||||
systemPackages = [ cfg.package ];
|
||||
shells = [
|
||||
(lib.getExe' cfg.package "nu")
|
||||
"/run/current-system/sw/bin/nu"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue