This commit is contained in:
2026-07-27 23:16:30 +09:00
parent 2a02beda38
commit 5132a1af1b
9 changed files with 42 additions and 11 deletions
+5
View File
@@ -6,6 +6,7 @@
}:
let
isLinux = pkgs.stdenv.hostPlatform.isLinux;
isDarwin = pkgs.stdenv.hostPlatform.isDarwin;
extensions = inputs.vicinae-extensions.packages.${pkgs.stdenv.hostPlatform.system};
in
{
@@ -16,6 +17,10 @@ in
autoStart = true;
environment.USE_LAYER_SHELL = 1;
};
launchd = lib.mkIf isDarwin {
enable = true;
autoStart = true;
};
settings = {
font.size = 11;
close_on_focus_loss = true;
+3 -1
View File
@@ -24,6 +24,7 @@ when removing it from any supported host would make that host invalid.
| ------------------------------------ | ------------------------------------- |
| `base` | NixOS, macOS |
| `interface.cli` | NixOS, macOS with Home Manager |
| `interface.gui` | NixOS, macOS with Home Manager |
| `interface.macos` | macOS |
| `interface.linux-desktop` | NixOS with Home Manager |
| `interface.gnome` | NixOS with Home Manager |
@@ -46,7 +47,8 @@ when removing it from any supported host would make that host invalid.
Select independent concerns independently in `hosts/default.nix`. For example,
a NixOS desktop can combine `interface.gnome` and `interface.niri` to provide
both sessions while sharing `interface.linux-desktop`; niri supplies ly. A
both sessions while sharing `interface.linux-desktop` and `interface.gui`; niri
supplies ly. A
daily-use macOS development machine can combine `interface.macos`,
`workload.development`, and `workload.personal`. Hardware support does not
implicitly select an interface or workload.
+5
View File
@@ -0,0 +1,5 @@
{
description = "Cross-platform graphical interface applications";
includes = [ "applications.vicinae" ];
}
@@ -2,11 +2,11 @@
description = "Shared NixOS graphical desktop foundation";
includes = [
"profiles.interface.gui"
"applications.fcitx5"
"applications.ghostty"
"applications.gtk"
"applications.nautilus"
"applications.vicinae"
"hardwares.graphics"
"systems.audio"
"systems.fonts"
@@ -2,6 +2,7 @@
description = "macOS graphical interface defaults";
includes = [
"profiles.interface.gui"
"systems.dock"
"systems.trackpad"
];
+1
View File
@@ -2,6 +2,7 @@
description = "Foundation shared by all NixOS platforms";
includes = [
"systems.disko"
"systems.boot.base"
"systems.locale"
"systems.networking.base"
+10 -1
View File
@@ -1,4 +1,13 @@
{ lib, ... }:
{
inputs,
lib,
pkgs,
...
}:
{
disko.enableConfig = lib.mkDefault false;
environment.systemPackages = [
inputs.disko.packages.${pkgs.stdenv.hostPlatform.system}.disko
];
}