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 ./spicetify.nix
./scripts ./scripts
./programs ./programs
./packages
]; ];
nixpkgs = { nixpkgs = {
@ -46,29 +47,19 @@
file = {"wallpaper.jpg".source = ./assets/nixos-wallpaper.jpg;}; file = {"wallpaper.jpg".source = ./assets/nixos-wallpaper.jpg;};
}; };
home.packages = with pkgs; [ home.packages = with pkgs; [
bottom
libnotify
prismlauncher prismlauncher
protonvpn-gui protonvpn-gui
devenv devenv
vlc vlc
tree
zed-editor zed-editor
rhythmbox rhythmbox
vesktop
qq qq
libreoffice-fresh
discord
kdePackages.okular
shotwell shotwell
mpv mpv
kdenlive kdenlive
obsidian obsidian
pcmanfm pcmanfm
udiskie udiskie
android-file-transfer
usbutils
mtpfs
teams-for-linux teams-for-linux
sxiv sxiv
heroic 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"; osupdate = "${pkgs.nh}/bin/nh os switch";
homeupdate = "${pkgs.nh}/bin/nh home switch"; homeupdate = "${pkgs.nh}/bin/nh home switch";
batmon = "watch -n0 upower -i /org/freedesktop/UPower/devices/battery_BAT1"; batmon = "watch -n0 upower -i /org/freedesktop/UPower/devices/battery_BAT1";
inception = "${pkgs.pipx}/bin/pipx run copier copy --trust gh:DataChefHQ/Inception .";
} }