This commit is contained in:
serenity-F 2026-01-02 15:41:07 +10:00
parent 83e8154a22
commit e3ff4f687b
3 changed files with 35 additions and 27 deletions

View file

@ -22,16 +22,20 @@
config = {
## Not doing full-FOSS lol
allowUnfree = true;
allowBroken = true;
#allowBroken = true;
## Place insecure packages here
#permittedInsecurePackages = [ "olm-3.2.16" ];
## Overrides
#permittedInsecurePackages = [
#"olm-3.2.16"
#];
## Place package overrides here
#packageOverrides = pkgs: {
#sygil-plymouth = pkgs.callPackage /home/serenity/repos/sygil-plymouth/package.nix { };
#};
};
## Overlays
## Place package overlays here
overlays = [
niri.overlays.niri
inputs.tidalcycles.overlays.default
@ -64,22 +68,26 @@
git = { enable = true; }; # Mandatory version control
fish = { enable = true; }; # A catgirls favourite shell
neovim = { enable = true; }; # Neovim declared here too, just in case
## NixOS CLI helper
nh = {
enable = true;
flake = "${flakePath}"; # Declared in flake.nix
};
## For handling encryption keys
gnupg.agent = {
enable = true;
enableSSHSupport = true;
#pinentryPackage = [ ];
};
## For running unpackaged binaries
nix-ld = {
enable = true;
#libraries = with pkgs; [ ];
};
## To run "normal" linux applications seamlessly
appimage = {
enable = true;
@ -91,29 +99,35 @@
services.flatpak.enable = true;
environment = {
## Environment Variables
variables = { # sets neovim to default editor in other apps
EDITOR = "nvim";
VISUAL = "nvim";
SYSTEMD_EDITOR = "nvim";
};
## Install a stub ELF loader to print an informative
## error message in the event that a user attempts
## to run an ELF binary not compiled for NixOS.
stub-ld.enable = true;
## System-level Packages
systemPackages = with pkgs; [
## Nix specific tools
nix-tree # Dependency tree viewer for nix store
nix-init # Generate nix packages from URLs
nix-index # Database for nixpkgs
nix-prefetch # provides info on a url
nix-output-monitor # Shows extra information on nix commands
## Filsesystem utilities
ddrutility # Set of tools for HDD rescure
exfatprogs # ExFAT filesystem
btrfs-progs # BTRFS filesystem
ntfs3g # NTFS filesystem
## CLI tools & utilities
fd # Find, but faster
bc # Calculator