mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
messed with boot params
fine tuned page
This commit is contained in:
parent
e6160107b4
commit
450cfa425d
4 changed files with 43 additions and 9 deletions
|
|
@ -11,7 +11,31 @@
|
|||
};
|
||||
boot = {
|
||||
blacklistedKernelModules = ["pcspkr"];
|
||||
kernelParams = ["fbcon=nodefer" "bgrt_disable" "quiet" "systemd.show_status=false" "rd.udev.log_level=3" "vt.global_cursor_default=0"];
|
||||
kernelParams = [
|
||||
"acpi_call"
|
||||
"pti=auto"
|
||||
"randomize_kstack_offset=on"
|
||||
"vsyscall=none"
|
||||
"slab_nomerge"
|
||||
"module.sig_enforce=1"
|
||||
"lockdown=confidentiality"
|
||||
"page_poison=1"
|
||||
"page_alloc.shuffle=1"
|
||||
"sysrq_always_enabled=0"
|
||||
"idle=nomwait"
|
||||
"rootflags=noatime"
|
||||
"iommu=pt"
|
||||
"usbcore.autosuspend=-1"
|
||||
"noresume"
|
||||
"acpi_backlight=native"
|
||||
"logo.nologo"
|
||||
"fbcon=nodefer"
|
||||
"bgrt_disable"
|
||||
"quiet"
|
||||
"systemd.show_status=false"
|
||||
"rd.udev.log_level=3"
|
||||
"vt.global_cursor_default=0"
|
||||
];
|
||||
consoleLogLevel = 3;
|
||||
initrd.verbose = false;
|
||||
plymouth = {
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ _: {
|
|||
push = {
|
||||
autoSetupRemote = true;
|
||||
};
|
||||
advice.addIgnoredFile = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -20,8 +20,9 @@
|
|||
variables = {
|
||||
EDITOR = "nvim";
|
||||
VISUAL = "nvim";
|
||||
PAGER = "page";
|
||||
PAGER = "page -WfC -q 90000 -z 90000";
|
||||
SYSTEMD_PAGERSECURE = "true";
|
||||
MANPAGER = "page -t man";
|
||||
};
|
||||
shellAliases = {
|
||||
#make sudo use aliases
|
||||
|
|
@ -44,6 +45,7 @@
|
|||
lx = "exa -lbhHigUmuSa@ --time-style=long-iso --git --color-scale";
|
||||
lS = "exa -1";
|
||||
lt = "exa --tree --level=2";
|
||||
page = config.environment.variables.PAGER;
|
||||
};
|
||||
interactiveShellInit = "fetch-rs";
|
||||
};
|
||||
|
|
@ -67,6 +69,13 @@
|
|||
histSize = 10000;
|
||||
histFile = "$HOME/.cache/zsh_history";
|
||||
interactiveShellInit = ''
|
||||
### pager ###
|
||||
man () {
|
||||
PROGRAM="''${@[-1]}"
|
||||
SECTION="''${@[-2]}"
|
||||
page -W "man://$PROGRAM''${SECTION:+($SECTION)}"
|
||||
}
|
||||
### transient shell prompt ###
|
||||
zle-line-init() {
|
||||
emulate -L zsh
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue