Move shared Home Manager packages
This commit is contained in:
parent
f28ccbf45d
commit
7c9ffc116e
3 changed files with 30 additions and 51 deletions
|
@ -1,12 +1,9 @@
|
|||
{
|
||||
config,
|
||||
headless ? false,
|
||||
hostname,
|
||||
inputs,
|
||||
outputs,
|
||||
self,
|
||||
system,
|
||||
username,
|
||||
...
|
||||
}:
|
||||
let
|
||||
|
@ -29,15 +26,6 @@ let
|
|||
;
|
||||
|
||||
inherit (pkgs) lib;
|
||||
|
||||
shared-packages = import "${self}/lib/shared/home-manager-packages.nix" {
|
||||
inherit
|
||||
headless
|
||||
inputs
|
||||
pkgs
|
||||
username
|
||||
;
|
||||
};
|
||||
in
|
||||
{
|
||||
imports =
|
||||
|
@ -50,8 +38,6 @@ in
|
|||
./desktop
|
||||
];
|
||||
|
||||
home.packages = shared-packages;
|
||||
|
||||
home.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
IMAPFILTER_HOME = "${configHome}/imapfilter";
|
||||
|
|
|
@ -1,10 +1,38 @@
|
|||
{ config, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.username = "opdavies";
|
||||
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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue