mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 05:48:12 +09:00
vicinae
This commit is contained in:
+7
-25
@@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user