feat(desktop): configure declarative VS Code with Vim extension and enable GNOME Keyring PAM integration

- Move `vscode` out of `home.packages` and configure it declaratively via `programs.vscode` in `home/desktop.nix`.
- Add `vscodevim.vim` extension and configure `argvSettings` to use the `gnome-libsecret` password store.
- Enable GNOME Keyring PAM services for `greetd` in `system/desktop.nix`.

This change provides persistent, declarative extension management and credential store integration for VS Code and desktop applications upon login.
This commit is contained in:
kiskaadee committed 2026-09-28 13:03:15 -05:00
1 parent deb489df45
commit 18b2a09cd8
2 files changed
+16 -1

No files matched your search

+13 -1
View File
@@ -21,7 +21,6 @@ in
inputs.antigravity.packages.${pkgs.stdenv.hostPlatform.system}.google-antigravity inputs.antigravity.packages.${pkgs.stdenv.hostPlatform.system}.google-antigravity
# Graphical Applications & Editors # Graphical Applications & Editors
vscode
zed-editor zed-editor
obsidian obsidian
libreoffice libreoffice
@@ -61,6 +60,19 @@ in
}; };
}; };
# Visual Studio Code declarative configuration
programs.vscode = {
enable = true;
profiles.default = {
extensions = with pkgs.vscode-extensions; [
vscodevim.vim
];
};
argvSettings = {
"password-store" = "gnome-libsecret";
};
};
# GTK & Icon Theme Configuration # GTK & Icon Theme Configuration
gtk = { gtk = {
enable = true; enable = true;
+3
View File
@@ -39,6 +39,9 @@
}; };
}; };
# Unlock GNOME Keyring on login via greetd
security.pam.services.greetd.enableGnomeKeyring = true;
# Clean boot configuration for the greeter (suppresses tty1 diagnostic messages) # Clean boot configuration for the greeter (suppresses tty1 diagnostic messages)
systemd.services.greetd.serviceConfig = { systemd.services.greetd.serviceConfig = {
Type = "idle"; Type = "idle";