refactor: home.packages: move out of home-manager

This commit is contained in:
Colin 2023-01-30 01:53:59 +00:00
parent 8e81b5827c
commit 427ee669c5
2 changed files with 2 additions and 4 deletions

View File

@ -49,6 +49,8 @@ in
shell = pkgs.zsh;
packages = builtins.map (p: p.pkg) config.sane.packages.enabledUserPkgs;
# mount encrypted stuff at login
# some other nix pam users:
# - <https://github.com/g00pix/nixconf/blob/32c04f6fa843fed97639dd3f09e157668d3eea1f/profiles/sshfs.nix>

View File

@ -9,8 +9,6 @@
with lib;
let
cfg = config.sane.home-manager;
# extract `pkg` from `sane.packages.enabledUserPkgs`
pkg-list = pkgspec: builtins.map (e: e.pkg) pkgspec;
in
{
options = {
@ -31,8 +29,6 @@ in
manual.html.enable = false; # TODO: set to true later (build failure)
manual.manpages.enable = false; # TODO: enable after https://github.com/nix-community/home-manager/issues/3344
home.packages = pkg-list config.sane.packages.enabledUserPkgs;
home.stateVersion = "21.11";
home.username = "colin";
home.homeDirectory = "/home/colin";