chore: move some packages out of main home.nix

This commit is contained in:
Zhongheng Liu 2024-09-26 16:50:23 +03:00
commit a479e4633c
No known key found for this signature in database
7 changed files with 63 additions and 10 deletions

View file

@ -0,0 +1,7 @@
{
pkgs,
config,
lib,
...
}: {
}

View file

@ -19,6 +19,7 @@
./spicetify.nix
./scripts
./programs
./packages
];
nixpkgs = {
@ -46,29 +47,19 @@
file = {"wallpaper.jpg".source = ./assets/nixos-wallpaper.jpg;};
};
home.packages = with pkgs; [
bottom
libnotify
prismlauncher
protonvpn-gui
devenv
vlc
tree
zed-editor
rhythmbox
vesktop
qq
libreoffice-fresh
discord
kdePackages.okular
shotwell
mpv
kdenlive
obsidian
pcmanfm
udiskie
android-file-transfer
usbutils
mtpfs
teams-for-linux
sxiv
heroic

View file

@ -0,0 +1,12 @@
{
pkgs,
config,
lib,
...
}: {
imports = [
./util-programs.nix
./office-programs.nix
./discord.nix
];
}

View file

@ -0,0 +1,16 @@
{
pkgs,
config,
lib,
...
}: {
home.packages = with pkgs; [vesktop];
xdg.desktopEntries.discord = {
exec = "${pkgs.vesktop}/bin/vesktop";
terminal = false;
mimeType = ["x-scheme-handler/discord"];
name = "Discord - Vesktop";
genericName = "Discord but substituted with Vesktop";
type = "Application";
};
}

View file

@ -0,0 +1,11 @@
{
pkgs,
config,
lib,
...
}: {
home.packages = with pkgs; [
libreoffice-fresh
kdePackages.okular
];
}

View file

@ -0,0 +1,15 @@
{
pkgs,
config,
lib,
...
}: {
home.packages = with pkgs; [
bottom
libnotify
tree
android-file-transfer
mtpfs
usbutils
];
}

View file

@ -8,4 +8,5 @@
osupdate = "${pkgs.nh}/bin/nh os switch";
homeupdate = "${pkgs.nh}/bin/nh home switch";
batmon = "watch -n0 upower -i /org/freedesktop/UPower/devices/battery_BAT1";
inception = "${pkgs.pipx}/bin/pipx run copier copy --trust gh:DataChefHQ/Inception .";
}