starting the modules system

This commit is contained in:
Chris Cochrun 2023-01-06 11:54:52 -06:00
parent 6cffce3de2
commit f7a1794dae
5 changed files with 246 additions and 461 deletions

46
pkgs/base-packages.nix Normal file
View file

@ -0,0 +1,46 @@
{ pkgs, config, ... }:
{
environment.systemPackages = with pkgs; [
vim
wget
killall
git
tmux
dutree
cachix
unzip
unrar
p7zip
zip
gzip
usbutils
binutils
podman-compose
exa
# img2pdf
yt-dlp
bat
rsync
jq
ripgrep
fd
socat
ffmpeg-full
imagemagick
libheif
trash-cli
htop
btop
bc
sysstat
procs
pandoc
samba
blesh
# OVMFFull
quickemu
macchina
neofetch
];
}

127
pkgs/desktop-packages.nix Normal file
View file

@ -0,0 +1,127 @@
{ pkgs, lib, config, ... }:
with lib;
{
environment.systemPackages = with pkgs; [
discover
# kde-rounded-corners
lightly-qt
pinentry
pinentry-qt
hunspell
caffeine-ng
hunspellDicts.en_US
transmission
openssh
ark
ifuse
dash
brightnessctl
dunst
ttyper
kget
audacity
krename
kwallet-pam
plasma5Packages.kwallet
sierra-breeze-enhanced
libimobiledevice
bottles
# jitsi-meet-electron
imv
feh
tagutil
python310Packages.mutagen
python310Packages.audiotools
(mpv.override {scripts = with pkgs.mpvScripts; [ mpris youtube-quality sponsorblock ];})
ani-cli
mov-cli
nerdfonts
# latte-dock
plasma-browser-integration
alacritty
libsForQt5.bismuth
libnotify
rofi-wayland
wf-recorder
wofi
waybar
tridactyl-native
eww-wayland
wlrctl
hyprpaper
swaylock-fancy
aha
glxinfo
vulkan-tools
wayland-utils
nextcloud-client
# mkchromecast
plocate
# librepresenter.libre-presenter
papirus-icon-theme
phinger-cursors
plasma-hud
kde-cli-tools
gzip
qrencode
brave
scribus
darktable
qutebrowser
virt-manager
virt-viewer
# firefox
kate
kdialog
plasma5Packages.khotkeys
# openlp
inkscape
libreoffice-fresh
vlc
neochat
haskellPackages.greenclip
pulsemixer
any-nix-shell
wtype
xdotool
# ydotool
wmctrl
xcape
xclip
maim
unclutter-xfixes
bluez-tools
networkmanager_dmenu
plasma5Packages.qt5ct
lxappearance
spotdl
kdenlive
minetest
# natron
digikam
rubberband
texlive.combined.scheme-full
wlroots
picom-next
pamixer
playerctl
jellyfin-mpv-shim
pfetch
macchina
gimp
powertop
element-desktop-wayland
scrcpy
python
python3
airshipper
# hyprland
(import /home/chris/.dotfiles/ydotool { inherit lib stdenv util-linux cmake scdoc fetchFromGitHub; })
# (libsForQt5.callPackage /home/chris/dev/LightlyShaders {}) # LightlyShaders
# (libsForQt5.callPackage /home/chris/dev/church-presenter {}) # librepresenter
nix-index
sqlite
fennel
];
}

View file

@ -4,6 +4,8 @@
imports = imports =
[ [
./hardware-configuration.nix ./hardware-configuration.nix
../../pkgs/base-packages.nix
../../pkgs/desktop-packages.nix
]; ];
nix = { nix = {
@ -237,201 +239,6 @@
dedicatedServer.openFirewall = true; dedicatedServer.openFirewall = true;
}; };
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
vim
wget
killall
git
tmux
dutree
cachix
unzip
unrar
p7zip
zip
gzip
usbutils
binutils
podman-compose
exa
# img2pdf
yt-dlp
bat
rsync
jq
ripgrep
fd
socat
ffmpeg-full
imagemagick
libheif
trash-cli
htop
btop
bc
sysstat
procs
pandoc
samba
blesh
# OVMFFull
quickemu
discover
# kde-rounded-corners
lightly-qt
pinentry
pinentry-qt
hunspell
caffeine-ng
hunspellDicts.en_US
transmission
openssh
ark
ifuse
dash
brightnessctl
dunst
ttyper
kget
audacity
krename
kwallet-pam
plasma5Packages.kwallet
sierra-breeze-enhanced
libimobiledevice
bottles
# jitsi-meet-electron
imv
feh
tagutil
python310Packages.mutagen
python310Packages.audiotools
(mpv.override {scripts = with pkgs.mpvScripts; [ mpris youtube-quality sponsorblock ];})
ani-cli
mov-cli
nerdfonts
# latte-dock
plasma-browser-integration
alacritty
libsForQt5.bismuth
libnotify
rofi-wayland
wf-recorder
wofi
waybar
tridactyl-native
eww-wayland
wlrctl
hyprpaper
swaylock-fancy
aha
glxinfo
vulkan-tools
wayland-utils
nextcloud-client
# mkchromecast
plocate
# librepresenter.libre-presenter
papirus-icon-theme
phinger-cursors
plasma-hud
kde-cli-tools
gzip
qrencode
brave
scribus
darktable
qutebrowser
virt-manager
virt-viewer
# firefox
kate
kdialog
plasma5Packages.khotkeys
# openlp
inkscape
libreoffice-fresh
vlc
neochat
haskellPackages.greenclip
pulsemixer
any-nix-shell
wtype
xdotool
# ydotool
wmctrl
xcape
xclip
maim
unclutter-xfixes
bluez-tools
networkmanager_dmenu
plasma5Packages.qt5ct
lxappearance
spotdl
kdenlive
minetest
# natron
digikam
rubberband
texlive.combined.scheme-full
wlroots
picom-next
pamixer
playerctl
jellyfin-mpv-shim
pfetch
macchina
gimp
powertop
element-desktop-wayland
scrcpy
python
python3
airshipper
# hyprland
blender
neofetch
# ethminer
lutris
protonup
nvtop
# Dev tools
(import /home/chris/.dotfiles/ydotool { inherit lib stdenv util-linux cmake scdoc fetchFromGitHub; })
# android-tools
nix-index
# meson
# ninja
# gnumake
# gcc
# gdb
# clang
# clang-tools
# cmake
# qtcreator
# extra-cmake-modules
# pkg-config
# libsForQt5.wrapQtAppsHook
# python310Packages.pyqt5
# LIBRARIES FOR DEV
# qt5.qtbase
# qt5.qtquickcontrols2
# qt5.qtx11extras
# libsForQt5.appstream-qt
# libsForQt5.kdelibs4support
# libsForQt5.kirigami2
# libsForQt5.ki18n
# libsForQt5.kcoreaddons
# plasma5Packages.kirigami2
sqlite
fennel
# (libsForQt5.callPackage /home/chris/dev/LightlyShaders {})
# (libsForQt5.callPackage /home/chris/dev/church-presenter {})
];
# nixpkgs.overlays = [ # nixpkgs.overlays = [
# (import (builtins.fetchTarball { # (import (builtins.fetchTarball {

View file

@ -256,202 +256,8 @@
# nixpkgs.config.firefox.enableTridactyl = true; # nixpkgs.config.firefox.enableTridactyl = true;
# List packages installed in system profile. To search, run: import ../../pkgs/base-packges.nix;
# $ nix search wget import ../../pkgs/desktop-packges.nix;
environment.systemPackages = with pkgs; [
vim
wget
killall
git
tmux
dutree
cachix
unzip
unrar
p7zip
zip
gzip
usbutils
binutils
podman-compose
exa
# img2pdf
yt-dlp
bat
rsync
jq
ripgrep
fd
socat
ffmpeg-full
imagemagick
libheif
trash-cli
htop
btop
bc
sysstat
procs
pandoc
samba
blesh
# OVMFFull
quickemu
discover
# kde-rounded-corners
lightly-qt
pinentry
pinentry-qt
hunspell
caffeine-ng
hunspellDicts.en_US
transmission
openssh
ark
ifuse
dash
brightnessctl
dunst
ttyper
kget
audacity
krename
kwallet-pam
plasma5Packages.kwallet
sierra-breeze-enhanced
libimobiledevice
bottles
# jitsi-meet-electron
imv
feh
tagutil
python310Packages.mutagen
python310Packages.audiotools
(mpv.override {scripts = with pkgs.mpvScripts; [ mpris youtube-quality sponsorblock ];})
ani-cli
mov-cli
nerdfonts
# latte-dock
plasma-browser-integration
alacritty
libsForQt5.bismuth
libnotify
rofi-wayland
wf-recorder
wofi
waybar
tridactyl-native
eww-wayland
wlrctl
hyprpaper
swaylock-fancy
aha
glxinfo
vulkan-tools
wayland-utils
nextcloud-client
# mkchromecast
plocate
# librepresenter.libre-presenter
papirus-icon-theme
phinger-cursors
plasma-hud
kde-cli-tools
gzip
qrencode
brave
scribus
darktable
qutebrowser
virt-manager
virt-viewer
# firefox
kate
kdialog
plasma5Packages.khotkeys
# openlp
inkscape
libreoffice-fresh
vlc
neochat
haskellPackages.greenclip
pulsemixer
any-nix-shell
wtype
xdotool
# ydotool
wmctrl
xcape
xclip
maim
unclutter-xfixes
bluez-tools
networkmanager_dmenu
plasma5Packages.qt5ct
lxappearance
spotdl
kdenlive
minetest
# natron
digikam
rubberband
texlive.combined.scheme-full
wlroots
picom-next
pamixer
playerctl
jellyfin-mpv-shim
pfetch
macchina
gimp
powertop
element-desktop-wayland
scrcpy
python
python3
airshipper
# hyprland
neofetch
afetch
yafetch
freshfetch
disfetch
bunnyfetch
fet-sh
macchina
# Dev tools
(import /home/chris/.dotfiles/ydotool { inherit lib stdenv util-linux cmake scdoc fetchFromGitHub; })
# android-tools
nix-index
# meson
# ninja
# gnumake
# gcc
# gdb
# clang
# clang-tools
# cmake
# qtcreator
# extra-cmake-modules
# pkg-config
# libsForQt5.wrapQtAppsHook
# python310Packages.pyqt5
# LIBRARIES FOR DEV
# qt5.qtbase
# qt5.qtquickcontrols2
# qt5.qtx11extras
# libsForQt5.appstream-qt
# libsForQt5.kdelibs4support
# libsForQt5.kirigami2
# libsForQt5.ki18n
# libsForQt5.kcoreaddons
# plasma5Packages.kirigami2
sqlite
fennel
# (libsForQt5.callPackage /home/chris/dev/LightlyShaders {})
# (libsForQt5.callPackage /home/chris/dev/church-presenter {})
];
services.emacs = { services.emacs = {
enable = true; enable = true;

View file

@ -243,7 +243,7 @@
}; };
home.file.".config/hypr/hyprpaper.conf" = { home.file.".config/hypr/hyprpaper.conf" = {
source = if builtins.readFile "/etc/hostname" == "syl\n" then /home/chris/.dotfiles/hypr/hyprpaper.conf else /home/chris/.dotfiles/hyprpaper.conf; source = if builtins.readFile "/etc/hostname" == "syl\n" then /home/chris/.dotfiles/hypr/hyprpaper.conf else /home/chris/.dotfiles/hypr/hyprpaper.conf;
}; };
home.file.".config/hypr/hyprsome" = { home.file.".config/hypr/hyprsome" = {
source = if builtins.readFile "/etc/hostname" == "syl\n" then /home/chris/.dotfiles/hypr/hyprsome else /home/chris/.dotfiles/hypr/hyprsome; source = if builtins.readFile "/etc/hostname" == "syl\n" then /home/chris/.dotfiles/hypr/hyprsome else /home/chris/.dotfiles/hypr/hyprsome;
@ -429,7 +429,6 @@ binde=, XF86AudioLowerVolume, exec, /home/chris/bin/voldown
binde = ,F1, exec, pamixer -t binde = ,F1, exec, pamixer -t
binde = ,F3, exec, /home/chris/bin/volup binde = ,F3, exec, /home/chris/bin/volup
binde = ,F2, exec, /home/chris/bin/voldown binde = ,F2, exec, /home/chris/bin/voldown
binde = , XF86MonBrightnessUp, exec, brightnessctl s +10% binde = , XF86MonBrightnessUp, exec, brightnessctl s +10%
binde = , XF86MonBrightnessDown, exec, brightnessctl s 10%- binde = , XF86MonBrightnessDown, exec, brightnessctl s 10%-