Skip to content

LuNeder/merpkgs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MerPkgs

🧜‍♀️ My nix package repository for when I don't want to deal with nixpkgs maintainers bullshit.

Includes packages and modules such as catask and buttui, as well as utilities for Linux phones with postmarketOS and beta or alternative versions of nixpkgs packages. See full list below. These are here for my own use and made public in the hope that they may be useful, but everything is provided with no warranty at all. Use at your own risk.

Adding to NixOS

These are packaged here for my own use and made public in the hope that they may be useful, but all modules, packages and everything else here are packaged with no warranty at all. Use at your own risk.

Add merpkgs to your flake's inputs:

inputs = {
  # ...
  
  merpkgs = {
    url = "github:LuNeder/merpkgs";
    inputs.nixpkgs.follows = "nixpkgs";
  };
};

Then, on your configuration.nix (or similar) add the merpkgs overlay:

nixpkgs.overlays = [
  inputs.merpkgs.overlays.default

  # your other overlays here, if any
];

Packages will now be available under pkgs.merpkgs, for example:

environment.systemPackages = [
  # ...
  pkgs.merpkgs.buttui
];

For the NixOS modules, you make all of them available in your configuration by importing builtins.attrValues inputs.merpkgs.nixosModules in your config, for example:

imports = [
  ./hardware-configuration.nix
  # ...
] ++ (builtins.attrValues inputs.merpkgs.nixosModules);

Modules will then usually be under the merpkgs name, such as:

merpkgs.services.catask = {
  enable = true;
  listenAddress = "[::]";
  port = 8220;
  openFirewall = true;
  dotenvPath = config.sops.templates."cataskenv".path;
  configPath = config.sops.templates."cataskcfg".path;
};

Similarly, for system-manager and Home Manager modules:

imports = [
  ./hardware-configuration.nix
  # ...
  ] ++ (builtins.attrValues inputs.merpkgs.systemManagerModules) ++
  (builtins.attrValues inputs.merpkgs.homeModules)
;

Similarly, for NixOS and Home Manager modules (tho no Home Manager modules are available yet!):

imports = [
  ./hardware-configuration.nix
  # ...
  ] ++ (builtins.attrValues inputs.merpkgs.nixosModules) ++
  (builtins.attrValues inputs.merpkgs.homeModules)
;

Package list

  • buttui: Terminal UI for buttplug.io compatible devices
  • catask: CatAsk is a simple & easy to use Q&A software. (Here temporarily until I get back to the nixpkgs PR)
  • More to come soon!

NixOS modules list

  • merpkgs.services.catask: Catask, see above
  • More to come soon!

system-manager modules list

  • merpkgs.services.ensureAlpinePackages: Install listed packages via apk on postmarketOS (and maybe Alpine too, tho only tested on postmarketOS). Removing packages from the list will not automatically uninstall them.
  • More to come soon!

Special thanks

As usual, tysm Gabs GELOS for helping me and making the base flake for this!!

About

🧜‍♀️ My nix package repository for when I don't want to deal with nixpkgs maintainers. Includes packages such as catask and buttui, as well as alternative versions of nixpkgs packages.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages