What changed here was: - I updated the lock file - I added ZNC to my services - I moved my services to a new directory - I renamed my user to arturm - I renamed my system to cityseventeen - I moved to en_US.UTF-8 - I switched to using Rose Pine - I added a Mako option - Some refactoring where it was needed These are all changes I forgot to commit, I had intentions of commiting them but I didn't until now. Oops!
23 lines
421 B
Nix
23 lines
421 B
Nix
{
|
|
lib,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.alqueva.programs.mako;
|
|
|
|
inherit (lib.options) mkEnableOption mkPackageOption;
|
|
inherit (lib.modules) mkIf;
|
|
in
|
|
{
|
|
options.alqueva.programs.mako = {
|
|
enable = mkEnableOption "mako";
|
|
package = mkPackageOption pkgs "mako" { };
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
environment.systemPackages = [ cfg.package ];
|
|
systemd.packages = [ cfg.package ];
|
|
};
|
|
}
|