feat: add vicinae-extensions and update vicinae settings

Add vicinae-extensions flake input and configure extensions (bluetooth,
nix, power-profile). Move vicinae cache config from system.nix to
cachix.nix. Update vicinae settings to new config schema with systemd
autostart.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
2026-05-04 04:56:23 +09:00
co-authored by Claude Sonnet 4.6
parent 6e60186320
commit 20cf460606
5 changed files with 125 additions and 14 deletions
+2
View File
@@ -3,11 +3,13 @@
extra-substituters = [
"https://moons-dotfiles.cachix.org"
"https://noctalia.cachix.org"
"https://vicinae.cachix.org"
];
extra-trusted-public-keys = [
"moons-dotfiles.cachix.org-1:WHoroKiNScG2/dpxHHL1I0qVmvuQhJbEAP+DS2j9Rr0="
"noctalia.cachix.org-1:pCOR47nnMEo5thcxNDtzWpOxNFQsBRglJzxWPp3dkU4="
"vicinae.cachix.org-1:1kDrfienkGHPYbkpNj1mWTr7Fm1+zcenzgTizIcI3oc="
];
};
}
+4 -7
View File
@@ -1,14 +1,10 @@
{ ... }:
{
{...}: {
nix = {
settings = {
experimental-features = [ "nix-command" "flakes" ];
extra-substituters = [ "https://vicinae.cachix.org" ];
extra-trusted-public-keys = [ "vicinae.cachix.org-1:1kDrfienkGHPYbkpNj1mWTr7Fm1+zcenzgTizIcI3oc=" ];
experimental-features = ["nix-command" "flakes"];
};
};
# Localization settings
time.timeZone = "Asia/Tokyo";
i18n.defaultLocale = "ja_JP.UTF-8";
@@ -30,4 +26,5 @@
console.keyMap = "jp106";
system.stateVersion = "25.11";
}
}
+33 -6
View File
@@ -1,23 +1,50 @@
{ inputs, ... }:
{
inputs,
pkgs,
...
}: {
imports = [
inputs.vicinae.homeManagerModules.default
];
services.vicinae = {
enable = true;
# package = [ ];
systemd = {
enable = true;
autoStart = true;
environment = {
USE_LAYER_SHELL = 1;
};
};
settings = {
faviconService = "twenty"; # twenty | google | none
font.size = 11;
popToRootOnClose = false;
rootSearch.searchFiles = false;
theme.name = "dracula";
close_on_focus_loss = true;
consider_preedit = true;
pop_to_root_on_close = true;
favicon_service = "twenty";
search_files_in_root = true;
theme = {
light = {
name = "dracula";
icon_theme = "default";
};
dark = {
name = "vicinae-light";
icon_theme = "default";
};
};
window = {
csd = true;
opacity = 0.95;
rounding = 10;
};
};
extensions = with inputs.vicinae-extensions.packages.${pkgs.stdenv.hostPlatform.system}; [
bluetooth
nix
power-profile
# Extension names can be found in the link below, it's just the folder names
];
};
}