Remove unused packages

This commit is contained in:
Dave Gallant
2025-03-10 21:12:06 -04:00
parent 422ebbe491
commit c7b5e8b4f4
3 changed files with 6 additions and 19 deletions

View File

@@ -8,7 +8,7 @@ arch := `uname -s`
cmd := if arch == "Linux" { "nixos-rebuild --use-remote-sudo" } else { "darwin-rebuild" } cmd := if arch == "Linux" { "nixos-rebuild --use-remote-sudo" } else { "darwin-rebuild" }
rebuild: rebuild:
$cmd switch --flake . -I nixos-config="machines/$(hostname)/configuration.nix" $cmd switch --show-trace --flake . -I nixos-config="machines/$(hostname)/configuration.nix"
rollback: rollback:
$cmd switch --rollback --flake . $cmd switch --rollback --flake .

View File

@@ -4,7 +4,6 @@
modulesPath, modulesPath,
pkgs, pkgs,
unstable, unstable,
master,
... ...
}: }:
let let
@@ -19,6 +18,9 @@ let
tailscale-status tailscale-status
tray-icons-reloaded tray-icons-reloaded
]; ];
logseq-patch = pkgs.logseq.override {
electron_27 = pkgs.electron_34;
};
in in
{ {
@@ -87,25 +89,18 @@ in
android-studio android-studio
android-tools android-tools
bleachbit bleachbit
blender
calibre calibre
cryptsetup cryptsetup
discord discord
docker
docker-compose docker-compose
freefilesync freefilesync
ghostscript
gimp-with-plugins gimp-with-plugins
glibcLocales
httpie-desktop httpie-desktop
gnome-tweaks gnome-tweaks
iputils iputils
kazam
libation libation
lm_sensors logseq-patch
logseq
mission-center mission-center
mitmproxy
netdata netdata
nfs-utils nfs-utils
onlyoffice-desktopeditors onlyoffice-desktopeditors
@@ -113,15 +108,11 @@ in
pavucontrol pavucontrol
pika-backup pika-backup
pinentry-curses pinentry-curses
podman
protonvpn-gui protonvpn-gui
qemu qemu
ryujinx ryujinx
strace
traceroute traceroute
unityhub unityhub
unstable.burpsuite
unstable.dotnet-sdk_8
unstable.ghostty unstable.ghostty
unstable.signal-desktop unstable.signal-desktop
unstable.tailscale unstable.tailscale
@@ -130,10 +121,8 @@ in
usbutils usbutils
virt-manager virt-manager
vlc vlc
virtiofsd
whois whois
wine wine
wireshark-qt
] ]
++ gnomeExtensions; ++ gnomeExtensions;
@@ -164,7 +153,6 @@ in
hostPlatform = "x86_64-linux"; hostPlatform = "x86_64-linux";
config = { config = {
allowUnfree = true; allowUnfree = true;
permittedInsecurePackages = [ "electron-27.3.11" ];
}; };
}; };
@@ -454,7 +442,7 @@ in
podman.enable = true; podman.enable = true;
libvirtd = { libvirtd = {
enable = true; enable = true;
qemuSwtpm = true; qemu.swtpm.enable = true;
}; };
}; };
} }

View File

@@ -3,7 +3,6 @@
nixpkgs = { nixpkgs = {
config = { config = {
allowUnfree = true; allowUnfree = true;
permittedInsecurePackages = [ ];
}; };
}; };