mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +02:00
nixUtils: migrated multiple packages to separate file
This commit is contained in:
@@ -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
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -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
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user