Add darwin configuration into

This commit is contained in:
Laurent Gueret
2026-02-11 13:15:26 +01:00
parent 80e5d0b8b5
commit e75b09a750
71 changed files with 562 additions and 151 deletions
+22
View File
@@ -0,0 +1,22 @@
{
pkgs,
lib,
config,
...
}:
with lib;
let
cfg = config.os.shell.devenv;
in
{
options.os.shell.devenv = {
enable = mkEnableOption "System devenv service";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
devenv
];
};
}
+18
View File
@@ -0,0 +1,18 @@
{ lib, config, ... }:
with lib;
let
cfg = config.os.shell.neovim;
in
{
options.os.shell.neovim = {
enable = mkEnableOption "System neovim service";
};
config = mkIf cfg.enable {
programs.neovim = {
enable = true;
defaultEditor = true;
};
};
}
+19
View File
@@ -0,0 +1,19 @@
{ lib, config, ... }:
with lib;
let
cfg = config.os.shell.nh;
in
{
options.os.shell.nh = {
enable = mkEnableOption "System nh service";
};
config = mkIf cfg.enable {
programs.nh = {
enable = true;
clean.enable = true;
clean.extraArgs = "--keep-since 2d --keep 3";
};
};
}