vicinae: update configuration format to support v0.17.* (#2111)

Link: https://github.com/nix-community/stylix/pull/2111
This commit is contained in:
0xda157 2026-01-02 15:46:46 -08:00 committed by GitHub
parent 551df12ee3
commit 6850ad2e9f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 20 additions and 12 deletions

6
flake.lock generated
View file

@ -141,11 +141,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1764517877,
"narHash": "sha256-pp3uT4hHijIC8JUK5MEqeAWmParJrgBVzHLNfJDZxg4=",
"lastModified": 1766651565,
"narHash": "sha256-QEhk0eXgyIqTpJ/ehZKg9IKS7EtlWxF3N7DXy42zPfU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "2d293cbfa5a793b4c50d17c05ef9e385b90edf6c",
"rev": "3e2499d5539c16d0d173ba53552a4ff8547f4539",
"type": "github"
},
"original": {

12
flake/dev/flake.lock generated
View file

@ -22,11 +22,11 @@
},
"dev-nixpkgs": {
"locked": {
"lastModified": 1764517877,
"narHash": "sha256-pp3uT4hHijIC8JUK5MEqeAWmParJrgBVzHLNfJDZxg4=",
"lastModified": 1766651565,
"narHash": "sha256-QEhk0eXgyIqTpJ/ehZKg9IKS7EtlWxF3N7DXy42zPfU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "2d293cbfa5a793b4c50d17c05ef9e385b90edf6c",
"rev": "3e2499d5539c16d0d173ba53552a4ff8547f4539",
"type": "github"
},
"original": {
@ -270,11 +270,11 @@
]
},
"locked": {
"lastModified": 1764768018,
"narHash": "sha256-wgQUCbnfUPBWvhMnFUcwABH4qmNE8cxjFc+40u4ReB4=",
"lastModified": 1766783994,
"narHash": "sha256-QW/TAoIUKxa0MeI2ZK8iWG0OHA+oLEpuhTHxKOHR9Yc=",
"owner": "vicinaehq",
"repo": "vicinae",
"rev": "c5648e0a0727dd99ff2e2e18c683474881987641",
"rev": "caa9572ed16081c65133697671e5da7715ae2cb9",
"type": "github"
},
"original": {

View file

@ -10,7 +10,10 @@ mkTarget {
{ colors, polarity }:
{
services.vicinae = {
settings.theme.name = "stylix";
settings.theme = {
light.name = "stylix";
dark.name = "stylix";
};
themes.stylix = {
meta = {
name = "stylix";
@ -51,7 +54,7 @@ mkTarget {
(
{ opacity }:
{
services.vicinae.settings.window.opacity = opacity.popups;
services.vicinae.settings.launcher_window.opacity = opacity.popups;
}
)
];

View file

@ -5,5 +5,10 @@
command.text = "sleep 5 && vicinae open";
};
home-manager.sharedModules = lib.singleton { services.vicinae.enable = true; };
home-manager.sharedModules = lib.singleton {
services.vicinae = {
enable = true;
systemd.enable = true;
};
};
}