tweaked packages.nix

This commit is contained in:
serenity-F 2025-03-15 19:54:28 +10:00
parent fd48c69db6
commit 99b2b084d4

View file

@ -20,17 +20,15 @@
## Nixpkgs Settings ## Nixpkgs Settings
nixpkgs = { nixpkgs = {
config = { config = {
## Not doing full-FOSS lol
allowUnfree = true; allowUnfree = true;
## Place insecure packages here ## Place insecure packages here
permittedInsecurePackages = [ "olm-3.2.16" ]; permittedInsecurePackages = [ "olm-3.2.16" ];
}; };
## Overlays - BROKEN FOR NOW ## Overlays - BROKEN FOR NOW
overlays = [ overlays = [
## to use overlays exported from other flakes: ## to use overlays exported from other flakes:
#neovim-nightly-overlay.overlays.default #neovim-nightly-overlay.overlays.default
## or define it inline, for example: ## or define it inline, for example:
#(final: prev: { #(final: prev: {
#hi = final.hello.overrideAttrs (oldAttrs: { #hi = final.hello.overrideAttrs (oldAttrs: {
@ -42,64 +40,59 @@
## System-level Programs ## System-level Programs
programs = { programs = {
git = { enable = true; }; # Mandatory version control git = { enable = true; }; # Mandatory version control
fish = { enable = true; }; # A catgirls favourite shell fish = { enable = true; }; # A catgirls favourite shell
neovim = { enable = true; }; # Neovim declared here too, just in case neovim = { enable = true; }; # Neovim declared here too, just in case
## NixOS CLI helper ## NixOS CLI helper
nh = { nh = {
enable = true; enable = true;
flake = "${flakePath}"; flake = "${flakePath}"; # Declared in flake.nix
}; };
## For handling encryption keys ## For handling encryption keys
gnupg.agent = { gnupg.agent = {
enable = true; enable = true;
enableSSHSupport = true; enableSSHSupport = true;
#pinentryPackage = [ ]; #pinentryPackage = [ ];
}; };
## For running unpackaged binaries ## For running unpackaged binaries
nix-ld = { nix-ld = {
enable = true; enable = true;
#libraries = with pkgs; [ ]; #libraries = with pkgs; [ ];
}; };
## To run "normal" linux applications seamlessly
appimage = {
enable = true;
binfmt = true;
};
}; };
## Flatpak, just in case ## Flatpak, just in case
services = { flatpak.enable = true; }; services.flatpak.enable = true;
environment = { environment = {
## Environment Variables ## Environment Variables
variables = { # sets neovim to default editor in other apps variables = { # sets neovim to default editor in other apps
EDITOR = "nvim"; EDITOR = "nvim";
VISUAL = "nvim"; VISUAL = "nvim";
SYSTEMD_EDITOR = "nvim"; SYSTEMD_EDITOR = "nvim";
}; };
## Install a stub ELF loader to print an informative ## Install a stub ELF loader to print an informative
## error message in the event that a user attempts ## error message in the event that a user attempts
## to run an ELF binary not compiled for NixOS. ## to run an ELF binary not compiled for NixOS.
stub-ld.enable = true; stub-ld.enable = true;
## System-level Packages ## System-level Packages
systemPackages = with pkgs; [ systemPackages = with pkgs; [
## Nix specific tools ## Nix specific tools
nix-tree # Dependency tree viewer for nix store nix-tree # Dependency tree viewer for nix store
nix-init # Generate nix packages from URLs nix-init # Generate nix packages from URLs
nix-index # Database for nixpkgs nix-index # Database for nixpkgs
nix-prefetch # provides info on a url nix-prefetch # provides info on a url
nix-output-monitor # Shows extra information on nix commands nix-output-monitor # Shows extra information on nix commands
## Filsesystem utilities ## Filsesystem utilities
ddrutility # Set of tools for HDD rescure ddrutility # Set of tools for HDD rescure
exfatprogs # ExFAT filesystem exfatprogs # ExFAT filesystem
btrfs-progs # BTRFS filesystem btrfs-progs # BTRFS filesystem
ntfs3g # NTFS filesystem ntfs3g # NTFS filesystem
## CLI tools & utilities ## CLI tools & utilities
fd # Find, but faster fd # Find, but faster
bc # Calculator bc # Calculator
@ -129,7 +122,6 @@
smartmontools # Tools for monitoring HDD health smartmontools # Tools for monitoring HDD health
magic-wormhole # Direct file sharing magic-wormhole # Direct file sharing
]; ];
}; };
} }