another another installer attempt

This commit is contained in:
2024-10-20 13:44:44 -05:00
parent a97a749a5f
commit 82ca092265
10 changed files with 203 additions and 2132 deletions

View File

@@ -1,84 +1,101 @@
{ pkgs, pkgs-us, self, ... }: {
{ config, lib, pkgs, pkgs-us, self, ... }: {
imports = [
self.inputs.scripts.hmModule
self.inputs.external.hmModule
];
nixpkgs.config.allowUnfree = true;
options.homeconfig.minimal = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
home.packages = with pkgs; let
pypkgs = ps: with ps; [
numpy
pandas
torch
torchvision
torchaudio
transformers
datasets
pyaudio
faster-whisper
pyusb
];
config = lib.mkMerge [
in [
{
home.packages = with pkgs; [
killall
zip
unzip
gcc
zulu
rsync
lxqt.lxqt-policykit
blueberry
wl-clipboard
firefox-wayland
xfce.thunar
grim
slurp
];
}
(lib.mkIf (!config.homeconfig.minimal) {
cava
gcc
android-tools
neovim-remote
nixpkgs.config.allowUnfree = true;
(pkgs.python311.withPackages pypkgs)
brightnessctl
libdbusmenu-gtk3
zulu
lmms
killall
#unfree {
geogebra
#}
blueberry
wl-clipboard
firefox-wayland
home.packages = with pkgs; let
pypkgs = ps: with ps; [
numpy
pandas
torch
torchvision
torchaudio
transformers
datasets
pyaudio
faster-whisper
pyusb
];
neofetch
pkgs-us.mpv
(ncmpcpp.override { visualizerSupport = true; clockSupport = true; })
playerctl
mpc-cli
xfce.thunar
vlc
zip
unzip
pavucontrol
yewtube
ytmdl
ffmpeg_5
lxqt.lxqt-policykit
rpi-imager
rsync
grim
slurp
tigervnc
keepassxc
httplz
in [
#school?
#pkgs-us.digital
cava
android-tools
neovim-remote
#3D modeling/printing
kicad
blender
freecad
cura
(pkgs.python311.withPackages pypkgs)
#productivity
libreoffice
super-productivity
brightnessctl
libdbusmenu-gtk3
lmms
#unfree {
geogebra
#}
#games
prismlauncher
];
neofetch
pkgs-us.mpv
(ncmpcpp.override { visualizerSupport = true; clockSupport = true; })
playerctl
mpc-cli
vlc
pavucontrol
yewtube
ytmdl
ffmpeg_5
rpi-imager
tigervnc
keepassxc
httplz
#school?
#pkgs-us.digital
#3D modeling/printing
kicad
blender
freecad
cura
#productivity
libreoffice
super-productivity
#games
prismlauncher
];
})
];
}

View File

@@ -1,13 +1,13 @@
{ config, lib, pkgs, self, ... }: {
options = {
externalPackages.enable = lib.options.mkOption {
homeconfig.externalPackages.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
};
config = lib.mkIf config.externalPackages.enable {
config = lib.mkIf config.homeconfig.externalPackages.enable {
home.packages = [
self.packages.${pkgs.system}.digital
];