nixUtils: migrated multiple packages to separate file

This commit is contained in:
2026-05-17 09:12:47 +02:00
parent 1ceed7d7d2
commit 30a42af639
2 changed files with 20 additions and 19 deletions
-15
View File
@@ -36,11 +36,6 @@
qt.enable = true; qt.enable = true;
nix.nixPath = [
"nixpkgs=${inputs.nixpkgs.outPath}"
"home-manager=${inputs.home-manager.outPath}"
]; #manix is unhappy without this
home-manager = { home-manager = {
useGlobalPkgs = true; useGlobalPkgs = true;
useUserPackages = true; useUserPackages = true;
@@ -166,8 +161,6 @@
]; ];
#adds nixos experimental features:
nix.settings.experimental-features = ["nix-command" "flakes"];
@@ -243,10 +236,6 @@
raylib raylib
glfw # raylib and some dependecies glfw # raylib and some dependecies
rembg # background remover rembg # background remover
#some nix tools
manix
deadnix
alejandra
cling # c interpreter used for coding cling # c interpreter used for coding
mprisence mprisence
gif-for-cli gif-for-cli
@@ -258,7 +247,6 @@
ltex-ls-plus ltex-ls-plus
pylint pylint
black black
nixd
# for caelestia # for caelestia
kdePackages.qtdeclarative # provides qmlls and other things kdePackages.qtdeclarative # provides qmlls and other things
quickshell # we have it but adding it there solves "WARN qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.quickshell'")" quickshell # we have it but adding it there solves "WARN qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.quickshell'")"
@@ -271,9 +259,6 @@
# this is more up to date # this is more up to date
#(callPackage ../../modules/packages/vivify.nix {}) #(callPackage ../../modules/packages/vivify.nix {})
#(callPackage ../../modules/packages/sbb-tui.nix {}) #(callPackage ../../modules/packages/sbb-tui.nix {})
pkgs-unstable.nixpkgs-review
pkgs-unstable.nixfmt-tree
pkgs-unstable.treefmt
pkgs-unstable.tor-browser pkgs-unstable.tor-browser
pkgs-unstable.bitwarden-desktop pkgs-unstable.bitwarden-desktop
]; ];
+20 -4
View File
@@ -1,12 +1,9 @@
{ {
config,
pkgs,
pkgs-unstable, pkgs-unstable,
libs,
inputs, inputs,
... ...
}: { }: {
# Garbage collector of generations # Garbage collector of generations
nix.gc = { nix.gc = {
automatic = true; automatic = true;
dates = "weekly"; dates = "weekly";
@@ -15,4 +12,23 @@
# nixpkgs-review crashed my laptop multiple times. # nixpkgs-review crashed my laptop multiple times.
nix.settings.max-jobs = 2; nix.settings.max-jobs = 2;
nix.settings.cores = 2; nix.settings.cores = 2;
#manix is unhappy without this
nix.nixPath = [
"nixpkgs=${inputs.nixpkgs.outPath}"
"home-manager=${inputs.home-manager.outPath}"
];
#adds nixos experimental features:
nix.settings.experimental-features = ["nix-command" "flakes"];
environment.systemPackages = with pkgs-unstable; [
nixpkgs-review
nixfmt-tree
treefmt
nixd
manix
deadnix
alejandra
];
} }