mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 01:58:12 +09:00
33 lines
568 B
Nix
33 lines
568 B
Nix
{
|
|
pkgs,
|
|
inputs,
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.my.applications.noctalia.system;
|
|
in
|
|
{
|
|
options.my.applications.noctalia.system = {
|
|
enable = lib.mkEnableOption "noctalia system package";
|
|
};
|
|
|
|
imports = [
|
|
inputs.noctalia.nixosModules.default
|
|
];
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
inputs.noctalia.packages.${pkgs.stdenv.hostPlatform.system}.default
|
|
];
|
|
|
|
programs.noctalia = {
|
|
enable = true;
|
|
recommendedServices.enable = true;
|
|
systemd.enable = true;
|
|
};
|
|
};
|
|
}
|