Move shared Home Manager packages

This commit is contained in:
Oliver Davies 2025-03-29 23:25:29 +00:00
parent f28ccbf45d
commit 7c9ffc116e
3 changed files with 30 additions and 51 deletions

View file

@ -1,12 +1,9 @@
{ {
config, config,
headless ? false, headless ? false,
hostname,
inputs, inputs,
outputs, outputs,
self,
system, system,
username,
... ...
}: }:
let let
@ -29,15 +26,6 @@ let
; ;
inherit (pkgs) lib; inherit (pkgs) lib;
shared-packages = import "${self}/lib/shared/home-manager-packages.nix" {
inherit
headless
inputs
pkgs
username
;
};
in in
{ {
imports = imports =
@ -50,8 +38,6 @@ in
./desktop ./desktop
]; ];
home.packages = shared-packages;
home.sessionVariables = { home.sessionVariables = {
EDITOR = "nvim"; EDITOR = "nvim";
IMAPFILTER_HOME = "${configHome}/imapfilter"; IMAPFILTER_HOME = "${configHome}/imapfilter";

View file

@ -1,10 +1,38 @@
{ config, ... }: { config, pkgs, ... }:
{ {
home.username = "opdavies"; home.username = "opdavies";
home.homeDirectory = "/home/${config.home.username}"; home.homeDirectory = "/home/${config.home.username}";
home.stateVersion = "22.05"; home.stateVersion = "22.05"; # Please read the comment before changing.
home.packages = with pkgs; [
cachix
delta
entr
gcc
git
git-crypt
gnupg
inotify-tools
jq
killall
lua
mob
pv
simple-http-server
sshs
tldr
tree
tree-sitter
unzip
w3m
watchexec
wget
xclip
xdg-utils
zbar
];
programs.home-manager.enable = true; programs.home-manager.enable = true;

View file

@ -1,35 +0,0 @@
{
headless,
pkgs,
username,
...
}:
with pkgs;
[
cachix
delta
entr
gcc
git
git-crypt
gnupg
inotify-tools
jq
killall
lua
mob
pv
simple-http-server
sshs
tldr
tree
tree-sitter
unzip
w3m
watchexec
wget
xclip
xdg-utils
zbar
]