This commit is contained in:
2026-08-03 14:02:41 +09:00
parent cde17e6a68
commit 02f97f73df
3 changed files with 38 additions and 25 deletions
@@ -1,26 +1,15 @@
{
inputs,
lib,
pkgs,
...
}:
let
isLinux = pkgs.stdenv.hostPlatform.isLinux;
isDarwin = pkgs.stdenv.hostPlatform.isDarwin;
extensions = inputs.vicinae-extensions.packages.${pkgs.stdenv.hostPlatform.system};
in
{
programs.vicinae = {
enable = true;
systemd = lib.mkIf isLinux {
enable = true;
autoStart = true;
environment.USE_LAYER_SHELL = 1;
};
launchd = lib.mkIf isDarwin {
enable = true;
autoStart = true;
};
settings = {
font.size = 11;
close_on_focus_loss = true;
@@ -46,18 +35,11 @@ in
rounding = 10;
};
};
extensions =
with extensions;
[
nix
zoxide-recent-directories
ssh
port-killer
]
++ lib.optionals isLinux [
power-profile
niri
noctalia-shell-wallpaper-selector
];
extensions = with extensions; [
nix
zoxide-recent-directories
ssh
port-killer
];
};
}
@@ -0,0 +1,8 @@
_: {
programs.vicinae = {
launchd = {
enable = true;
autoStart = true;
};
};
}
@@ -0,0 +1,23 @@
{
inputs,
pkgs,
...
}:
let
extensions = inputs.vicinae-extensions.packages.${pkgs.stdenv.hostPlatform.system};
in
{
programs.vicinae = {
systemd = {
enable = true;
autoStart = true;
environment.USE_LAYER_SHELL = 1;
};
extensions = with extensions; [
power-profile
niri
noctalia-shell-wallpaper-selector
];
};
}