move atuin patch to assets
This commit is contained in:
parent
81039c1f8e
commit
b6d15321d2
4 changed files with 13 additions and 4 deletions
|
@ -197,7 +197,8 @@
|
|||
sshUser = "root";
|
||||
buildOn = "remote"; # valid args are "local" or "remote"
|
||||
substituteOnTarget = false; # if buildOn is "local" then it will substitute on the target, "-s"
|
||||
hermetic = false;
|
||||
#hermetic = false; # ??? don't know what this is
|
||||
nixOptions = ["--max-jobs 1" ];
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -269,6 +270,10 @@
|
|||
sizes.popups = 15;
|
||||
};
|
||||
|
||||
home-manager.extraSpecialArgs = {
|
||||
inherit private_assets;
|
||||
assets = ./nixos/assets;
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.sharedModules = [
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{ lib, pkgs, assets, ... }:
|
||||
{
|
||||
|
||||
programs.zsh = {
|
||||
|
@ -39,7 +39,7 @@
|
|||
#package = pkgs.unstable.atuin;
|
||||
package = pkgs.unstable.atuin.overrideAttrs (_old: {
|
||||
# as cursed as doing mitigations=off in the kernel command line
|
||||
patches = [ ./0001-make-atuin-on-zfs-fast-again.patch ];
|
||||
patches = [ "${assets}/0001-make-atuin-on-zfs-fast-again.patch" ];
|
||||
});
|
||||
settings = {
|
||||
auto_sync = true;
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
{ config, ... }: {
|
||||
{ config, pkgs, assets, ... }: {
|
||||
services.atuin = {
|
||||
enable = true;
|
||||
package = pkgs.unstable.atuin.overrideAttrs (_old: {
|
||||
# as cursed as doing mitigations=off in the kernel command line
|
||||
patches = [ "${assets}/0001-make-atuin-on-zfs-fast-again.patch" ];
|
||||
});
|
||||
host = "0.0.0.0";
|
||||
maxHistoryLength = 999999;
|
||||
openRegistration = false;
|
||||
|
|
Loading…
Reference in a new issue