146 lines
2.4 KiB
Nix
146 lines
2.4 KiB
Nix
{
|
|
inputs,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
# Optimization settings and garbage collection automation
|
|
nix = {
|
|
settings = {
|
|
auto-optimise-store = true;
|
|
experimental-features = [
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
substituters = ["https://hyprland.cachix.org"];
|
|
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];
|
|
};
|
|
gc = {
|
|
automatic = true;
|
|
dates = "weekly";
|
|
options = "--delete-older-than 7d";
|
|
};
|
|
nixPath = ["nixpkgs=${inputs.nixpkgs}"];
|
|
};
|
|
|
|
nixpkgs.config = {
|
|
allowUnfree = true;
|
|
pulseaudio = true;
|
|
};
|
|
|
|
# Extra Portal Configuration
|
|
xdg.portal = {
|
|
enable = true;
|
|
xdgOpenUsePortal = true;
|
|
wlr.enable = true;
|
|
extraPortals = [
|
|
pkgs.xdg-desktop-portal-gtk
|
|
pkgs.xdg-desktop-portal
|
|
];
|
|
configPackages = [
|
|
pkgs.xdg-desktop-portal-gtk
|
|
pkgs.xdg-desktop-portal-hyprland
|
|
pkgs.xdg-desktop-portal
|
|
];
|
|
};
|
|
|
|
environment = {
|
|
variables = {
|
|
ZANEYOS_VERSION = "2.2";
|
|
ZANEYOS = "true";
|
|
};
|
|
|
|
systemPackages = with pkgs; [
|
|
wget
|
|
killall
|
|
eza
|
|
git
|
|
cmatrix
|
|
lolcat
|
|
libvirt
|
|
lxqt.lxqt-policykit
|
|
lm_sensors
|
|
unzip
|
|
unrar
|
|
libnotify
|
|
v4l-utils
|
|
ydotool
|
|
duf
|
|
ncdu
|
|
wl-clipboard
|
|
pciutils
|
|
ffmpeg
|
|
socat
|
|
cowsay
|
|
ripgrep
|
|
lshw
|
|
bat
|
|
pkg-config
|
|
meson
|
|
hyprpicker
|
|
ninja
|
|
brightnessctl
|
|
virt-viewer
|
|
swappy
|
|
appimage-run
|
|
networkmanagerapplet
|
|
yad
|
|
inxi
|
|
playerctl
|
|
nh
|
|
nixfmt-rfc-style
|
|
discord
|
|
libvirt
|
|
swww
|
|
grim
|
|
slurp
|
|
file-roller
|
|
swaynotificationcenter
|
|
imv
|
|
mpv
|
|
gimp
|
|
pavucontrol
|
|
tree
|
|
greetd.tuigreet
|
|
protonup
|
|
plex-media-player
|
|
plexamp
|
|
bitwarden-desktop
|
|
vlc
|
|
nixd
|
|
ungoogled-chromium
|
|
slack
|
|
alejandra
|
|
tutanota-desktop
|
|
ookla-speedtest
|
|
rustdesk
|
|
bun
|
|
docker
|
|
docker-compose
|
|
docker-slim
|
|
sl
|
|
nodejs
|
|
kdePackages.kdenlive
|
|
galculator
|
|
obs-studio
|
|
thefuck
|
|
cifs-utils
|
|
libreoffice
|
|
bastet
|
|
nsnake
|
|
exiftool
|
|
python3
|
|
figlet
|
|
fortune
|
|
wtf
|
|
pipes
|
|
cava
|
|
wineWowPackages.waylandFull # wine64
|
|
lazydocker
|
|
lazygit
|
|
lutris
|
|
gambit-chess
|
|
firefoxpwa
|
|
];
|
|
};
|
|
}
|