chore: split scripts from package

This commit is contained in:
Nydragon 2024-05-17 03:25:18 +09:00
parent 4705a3b248
commit 65965e5859
No known key found for this signature in database
GPG key ID: 14AA30A865EA1209

View file

@ -5,9 +5,6 @@
pkgs, pkgs,
... ...
}: }:
let
scripts = import ./scripts { inherit pkgs; };
in
{ {
imports = [ imports = [
./firefox ./firefox
@ -44,46 +41,51 @@ in
inherit username; inherit username;
inherit homeDirectory; inherit homeDirectory;
packages = with pkgs; [ packages =
digikam let
fragments pk = with pkgs; [
element-desktop digikam
libreoffice fragments
loupe element-desktop
gnome.seahorse libreoffice
gimp loupe
calibre gnome.seahorse
vlc gimp
thunderbird calibre
keepassxc vlc
gnome.nautilus thunderbird
rofi-power-menu keepassxc
lollypop gnome.nautilus
protonmail-bridge-gui rofi-power-menu
varia lollypop
protonmail-bridge-gui
varia
# Proprietary # Proprietary
postman postman
mongodb-compass mongodb-compass
# CLI tools # CLI tools
delta delta
fzf fzf
jhead jhead
fdupes fdupes
exiftool exiftool
sshfs sshfs
zip zip
unzip unzip
lazygit lazygit
fd fd
ripgrep ripgrep
swaybg swaybg
];
scripts = with import ./scripts { inherit pkgs; }; [
screenshot
set-background
];
in
scripts ++ pk;
# Scripts
scripts.screenshot
scripts.set-background
];
sessionVariables = { sessionVariables = {
EDITOR = "nvim"; EDITOR = "nvim";
MOZ_ENABLE_WAYLAND = 1; MOZ_ENABLE_WAYLAND = 1;