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
+35
View File
@@ -0,0 +1,35 @@
{
lib,
pkgs,
config,
...
}:
with lib;
let
cfg = config.os.gnome.apps;
in
{
options.os.gnome.apps = {
enable = mkEnableOption "System gnome apps service";
};
config = mkIf cfg.enable {
environment = {
systemPackages =
with pkgs;
[
# Gnome media apps
papers
celluloid
resources
]
++ [
# Gnome files explorer
nautilus
];
};
services.gvfs.enable = true; # SMB, FTP, ... access
};
}
+49
View File
@@ -0,0 +1,49 @@
{
lib,
pkgs,
config,
...
}:
with lib;
let
cfg = config.os.gnome.shell;
in
{
options.os.gnome.shell = {
enable = mkEnableOption "System gnome shell service";
};
config = mkIf cfg.enable {
services.displayManager.gdm.enable = true;
services.desktopManager.gnome.enable = true;
services.gnome.games.enable = false;
services.gnome.core-apps.enable = false;
services.gnome.core-developer-tools.enable = false;
environment = {
gnome.excludePackages = with pkgs; [
gnome-tour
gnome-user-docs
];
systemPackages = with pkgs; [
# Gnome terminal
ghostty
# Gnome icons
papirus-icon-theme
# Gnome Extensions
gnomeExtensions.vitals
gnomeExtensions.paperwm
gnomeExtensions.app-hider
gnomeExtensions.dash-to-panel
];
};
};
}