treewide: rename wpaperd and vscode options (#905)
Resolve the following warnings:
- The option `programs.wpaperd.settings' defined in
`/nix/store/<HASH>-source/modules/wpaperd/hm.nix' has been renamed
to `services.wpaperd.settings'.
- The option `programs.vscode.extensions' defined in
`/nix/store/<HASH>-source/modules/vscode/hm.nix' has been renamed
to `programs.vscode.profiles.default.extensions'.
- The option `programs.vscode.userSettings' defined in
`/nix/store/<HASH>-source/modules/vscode/hm.nix' has been renamed
to `programs.vscode.profiles.default.userSettings'.
The VSCode theme is now only applied to the 'default' profile.
Closes: https://github.com/danth/stylix/issues/903
Link: https://github.com/danth/stylix/pull/905
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
parent
2c4b5bec36
commit
cbe42e21ee
3 changed files with 5 additions and 5 deletions
6
flake.lock
generated
6
flake.lock
generated
|
|
@ -225,11 +225,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1737630279,
|
||||
"narHash": "sha256-wJQCxyMRc4P26zDrHmZiRD5bbfcJpqPG3e2djdGG3pk=",
|
||||
"lastModified": 1740347597,
|
||||
"narHash": "sha256-st5q9egkPGz8TUcVVlIQX7y6G3AzHob+6M963bwVq74=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "0db5c8bfcce78583ebbde0b2abbc95ad93445f7c",
|
||||
"rev": "12e26a74e5eb1a31e13daaa08858689e25ebd449",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ in
|
|||
config =
|
||||
lib.mkIf (config.stylix.enable && config.stylix.targets.vscode.enable)
|
||||
{
|
||||
programs.vscode = {
|
||||
programs.vscode.profiles.default = {
|
||||
extensions = [ themeExtension ];
|
||||
userSettings = {
|
||||
"workbench.colorTheme" = "Stylix";
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ in
|
|||
{ };
|
||||
in
|
||||
{
|
||||
programs.wpaperd.settings.any = {
|
||||
services.wpaperd.settings.any = {
|
||||
path = "${config.stylix.image}";
|
||||
} // modeAttrs;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue