Move Nix files into a nix directory
Move everything from `config` to the root level.
This commit is contained in:
parent
9f47df62b5
commit
69a397e624
124 changed files with 14 additions and 14 deletions
83
nix/lib/shared/home-manager-packages.nix
Normal file
83
nix/lib/shared/home-manager-packages.nix
Normal file
|
@ -0,0 +1,83 @@
|
|||
{
|
||||
desktop,
|
||||
inputs,
|
||||
pkgs,
|
||||
username,
|
||||
...
|
||||
}:
|
||||
let
|
||||
php = pkgs.php82;
|
||||
phpPackages = pkgs.php82Packages;
|
||||
|
||||
inherit (pkgs) writeShellApplication;
|
||||
|
||||
_timer = writeShellApplication (import ./scripts/_timer.nix);
|
||||
create-zellij-session = writeShellApplication (
|
||||
import ./scripts/create-zellij-session.nix { inherit pkgs; }
|
||||
);
|
||||
deliver = writeShellApplication (import ./scripts/deliver.nix { inherit pkgs; });
|
||||
export-video-list = writeShellApplication (
|
||||
import ./scripts/export-video-list.nix { inherit pkgs username; }
|
||||
);
|
||||
run = writeShellApplication (import ./scripts/run.nix { inherit pkgs; });
|
||||
t = writeShellApplication (import ./scripts/t.nix { inherit pkgs; });
|
||||
timer = writeShellApplication (import ./scripts/timer.nix);
|
||||
in
|
||||
with pkgs;
|
||||
[
|
||||
age
|
||||
awscli2
|
||||
bitwarden-cli
|
||||
bottom
|
||||
cachix
|
||||
ctop
|
||||
delta
|
||||
devenv
|
||||
dog
|
||||
doppler
|
||||
entr
|
||||
fd
|
||||
file
|
||||
gcc
|
||||
gh
|
||||
git
|
||||
git-crypt
|
||||
gnupg
|
||||
go
|
||||
inotify-tools
|
||||
jq
|
||||
killall
|
||||
lua
|
||||
mariadb
|
||||
mob
|
||||
php
|
||||
phpPackages.composer
|
||||
pv
|
||||
rustywind
|
||||
simple-http-server
|
||||
sshs
|
||||
tldr
|
||||
tree
|
||||
tree-sitter
|
||||
unzip
|
||||
virtualenv
|
||||
watchexec
|
||||
wget
|
||||
xclip
|
||||
xcp
|
||||
xdg-utils
|
||||
xh
|
||||
yarn
|
||||
|
||||
# Scripts.
|
||||
create-zellij-session
|
||||
deliver
|
||||
run
|
||||
t
|
||||
]
|
||||
++ pkgs.lib.optionals desktop [
|
||||
# Scripts.
|
||||
_timer
|
||||
export-video-list
|
||||
timer
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue