env: enable home-manager-help command; add libsecret to env

This commit is contained in:
2022-10-06 15:56:37 -07:00
parent 0e9993923d
commit a95884d635
3 changed files with 6 additions and 0 deletions

View File

@@ -13,6 +13,7 @@
EDITOR = "vim";
# git claims it should use EDITOR, but it doesn't!
GIT_EDITOR = "vim";
# TODO: these should be moved to `home.sessionVariables` (home-manager)
# Electron apps should use native wayland backend:
# https://nixos.wiki/wiki/Slack#Wayland
# Discord under sway crashes with this.

View File

@@ -79,6 +79,10 @@ in
# see: https://github.com/nix-community/home-manager/issues/589#issuecomment-950474105
home-manager.users.colin = let sysconfig = config; in { config, ... }: {
# run `home-manager-help` to access manpages
# or `man home-configuration.nix`
manual.html.enable = true;
home.packages = pkglist cfg.extraPackages;
wayland.windowManager = cfg.windowManager;

View File

@@ -11,6 +11,7 @@ let
ifuse
ipfs
libimobiledevice
libsecret # for managing user keyrings
lm_sensors # for sensors-detect
lshw
ffmpeg