refactor(nix): move around some packages to organize better

This commit is contained in:
matt1432 2023-10-03 15:25:34 -04:00
parent 30c548d68c
commit 640be8c112
3 changed files with 96 additions and 91 deletions

View file

@ -6,11 +6,6 @@
polkit = pkgs.plasma5Packages.polkit-kde-agent; polkit = pkgs.plasma5Packages.polkit-kde-agent;
in in
{ {
home.packages = with pkgs; [
sassc
coloryou
];
imports = [ imports = [
ags.homeManagerModules.default ags.homeManagerModules.default
]; ];
@ -51,4 +46,45 @@ in
"hypr/main.conf".source = symlink "${configDir}/hypr/main.conf"; "hypr/main.conf".source = symlink "${configDir}/hypr/main.conf";
"hypr/hyprpaper.conf".source = symlink "${configDir}/hypr/hyprpaper.conf"; "hypr/hyprpaper.conf".source = symlink "${configDir}/hypr/hyprpaper.conf";
}; };
home.packages = with pkgs; [
# ags
sassc
coloryou
libnotify
playerctl
bluez-tools
brightnessctl
pulseaudio
libinput
## gui
pavucontrol # TODO: replace with ags widget
networkmanagerapplet # TODO: replace with ags widget
blueberry # TODO: replace with ags widget
# Hyprland
hyprpaper
swayidle
lisgd
swayosd
squeekboard
xclip
wl-clipboard
cliphist
## gui
gtklock
wl-color-picker # TODO: add bind for this in hyprland
grim
slurp
swappy
## libs
libayatana-appindicator
xdg-utils
evtest
glib
];
} }

View file

@ -24,27 +24,10 @@
}; };
}; };
xdg.desktopEntries.gparted = {
name = "GParted";
genericName = "Partition Editor";
comment = "Create, reorganize, and delete partitions";
exec = "Gparted";
icon = "gparted";
terminal = false;
type = "Application";
categories = [ "GNOME" "System" "Filesystem" ];
startupNotify = true;
settings = {
Keywords = "Partition";
X-GNOME-FullName = "GParted Partition Editor";
};
};
home.packages = with pkgs; home.packages = with pkgs;
(with python311Packages; [ (with python311Packages; [
python python
pyclip pyclip
gdown
]) ++ ]) ++
(with nodePackages; [ (with nodePackages; [
@ -53,7 +36,6 @@
]) ++ ]) ++
(with plasma5Packages; [ (with plasma5Packages; [
polkit-kde-agent polkit-kde-agent
qtstyleplugin-kvantum
ark ark
kcharselect kcharselect
kdenlive kdenlive
@ -76,6 +58,40 @@
]) ++ [ ]) ++ [
# School
virt-manager
gradle
gradle-completion # FIXME: not working
#camunda-modeler
# Misc Apps
thunderbird # TODO: use programs.thunderbird
firefox # TODO: use programs.firefox
spotifywm
zeal
libreoffice-fresh # TODO: add spelling stuff
photoqt
gimp-with-plugins
vlc
discord
nextcloud-client
# Misc CLI
neofetch
qt5.qtwayland
qt6.qtwayland
acpi
progress
alsa-utils
wget
tree
mosh
rsync
killall
fontfor
imagemagick
usbutils
(writeShellScriptBin "Gparted" '' (writeShellScriptBin "Gparted" ''
( (
sleep 1.5 sleep 1.5
@ -87,75 +103,23 @@
fi fi
done done
) & ) &
exec env SUDO_ASKPASS=${pkgs.plasma5Packages.ksshaskpass}/bin/${pkgs.plasma5Packages.ksshaskpass.pname} sudo -k -EA "${gparted}/bin/${gparted.pname}" "$@" exec env SUDO_ASKPASS=${pkgs.plasma5Packages.ksshaskpass}/bin/${pkgs.plasma5Packages.ksshaskpass.pname} sudo -k -EA "${gparted}/bin/${gparted.pname}" "$@"
'') '')
# School
virt-manager
gradle
gradle-completion # not working
#camunda-modeler
protonmail-bridge
thunderbird
input-emulator
bc
spotifywm
swayosd
blueberry
libayatana-appindicator
libnotify
libinput
playerctl
steam-run
wineWowPackages.stable
cabextract
qt5.qtwayland
qt6.qtwayland
bottles-unwrapped
zscroll
lisgd
zeal
acpi
libreoffice-fresh # TODO: add spelling stuff
neofetch
photoqt
progress
wl-color-picker # add bind for this in hyprland
xclip
xdg-utils
pavucontrol # TODO: open on left click
gimp-with-plugins
bluez-tools
vlc
discord
brightnessctl
pulseaudio
alsa-utils
wget
firefox
tree
mosh
rsync
killall
hyprpaper
networkmanagerapplet
nextcloud-client
swayidle
wl-clipboard
cliphist
gtklock
grim
slurp
swappy
fontfor
qt5ct
imagemagick
usbutils
evtest
squeekboard
glib
appimage-run
]; ];
xdg.desktopEntries.gparted = {
name = "GParted";
genericName = "Partition Editor";
comment = "Create, reorganize, and delete partitions";
exec = "Gparted";
icon = "gparted";
terminal = false;
type = "Application";
categories = [ "GNOME" "System" "Filesystem" ];
startupNotify = true;
settings = {
Keywords = "Partition";
X-GNOME-FullName = "GParted Partition Editor";
};
};
} }

View file

@ -7,6 +7,11 @@
}; };
in in
{ {
home.packages = with pkgs; [
plasma5Packages.qtstyleplugin-kvantum
qt5ct
];
home.pointerCursor = { home.pointerCursor = {
name = "Dracula-cursors"; name = "Dracula-cursors";
package = pkgs.dracula-theme; package = pkgs.dracula-theme;