amaan can't into kernel
do 400 pushups per cache miss idiot
This commit is contained in:
parent
848ed62c5d
commit
4921973b9a
34 changed files with 3240 additions and 605 deletions
|
|
@ -1,5 +1,7 @@
|
|||
{ lib, ... }:
|
||||
{ inputs, lib, ... }:
|
||||
{
|
||||
imports = [ inputs.nixos-core.nixosModules.default ];
|
||||
system.activationScripts.users = lib.mkForce "";
|
||||
system.disableInstallerTools = true;
|
||||
programs.less.lessopen = null;
|
||||
boot.enableContainers = false;
|
||||
|
|
@ -7,4 +9,30 @@
|
|||
environment.defaultPackages = lib.mkDefault [ ];
|
||||
documentation.info.enable = false;
|
||||
system.tools.nixos-option.enable = false;
|
||||
system.tools.nixos-generate-config.enable = lib.mkDefault false;
|
||||
system.nixos-core.enable = true;
|
||||
# system.nixos-core.components.userGroupsActivation.enable = false;
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
xdg-utils = final.symlinkJoin {
|
||||
name = "xdg-utils-handlr-shim-${prev.handlr-regex.version or "0"}";
|
||||
paths = [
|
||||
final.xdg-user-dirs
|
||||
(final.writeShellScriptBin "xdg-open" ''exec ${final.handlr-regex}/bin/handlr open "$@"'')
|
||||
(final.writeShellScriptBin "xdg-mime" ''exec ${final.handlr-regex}/bin/handlr mime "$@"'')
|
||||
(final.writeShellScriptBin "xdg-settings" ''exec ${final.handlr-regex}/bin/handlr get "$@"'')
|
||||
(final.writeShellScriptBin "xdg-email" ''exec ${final.handlr-regex}/bin/handlr open "mailto:$*"'')
|
||||
|
||||
(final.writeShellScriptBin "xdg-desktop-menu" "exit 0")
|
||||
(final.writeShellScriptBin "xdg-desktop-icon" "exit 0")
|
||||
(final.writeShellScriptBin "xdg-icon-resource" "exit 0")
|
||||
(final.writeShellScriptBin "xdg-screensaver" "exit 0")
|
||||
];
|
||||
meta = {
|
||||
description = "xdg-utils shim backed by handlr-regex (perl-free)";
|
||||
mainProgram = "xdg-open";
|
||||
};
|
||||
};
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue