boot: fix password prompt timeout
This commit is contained in:
		
							parent
							
								
									f6efa2cc57
								
							
						
					
					
						commit
						2cf980caa1
					
				
					 4 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
					@ -3,7 +3,7 @@
 | 
				
			||||||
# to /etc/nixos/configuration.nix instead.
 | 
					# to /etc/nixos/configuration.nix instead.
 | 
				
			||||||
{ config, lib, pkgs, modulesPath, ... }:
 | 
					{ config, lib, pkgs, modulesPath, ... }:
 | 
				
			||||||
let
 | 
					let
 | 
				
			||||||
  btrfs_options = [ "compress=zstd:3" "noatime" ];
 | 
					  btrfs_options = [ "compress=zstd:3" "noatime" "x-systemd.device-timeout=0" ];
 | 
				
			||||||
in
 | 
					in
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
 | 
					  imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -3,7 +3,7 @@
 | 
				
			||||||
# to /etc/nixos/configuration.nix instead.
 | 
					# to /etc/nixos/configuration.nix instead.
 | 
				
			||||||
{ config, lib, pkgs, modulesPath, ... }:
 | 
					{ config, lib, pkgs, modulesPath, ... }:
 | 
				
			||||||
let
 | 
					let
 | 
				
			||||||
  btrfs_options = [ "compress=zstd:3" "noatime" ];
 | 
					  btrfs_options = [ "compress=zstd:3" "noatime" "x-systemd.device-timeout=0" ];
 | 
				
			||||||
  btrfs_ssd = [ "ssd" "discard=async" ];
 | 
					  btrfs_ssd = [ "ssd" "discard=async" ];
 | 
				
			||||||
in
 | 
					in
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -3,7 +3,7 @@
 | 
				
			||||||
# to /etc/nixos/configuration.nix instead.
 | 
					# to /etc/nixos/configuration.nix instead.
 | 
				
			||||||
{ config, lib, pkgs, modulesPath, ... }:
 | 
					{ config, lib, pkgs, modulesPath, ... }:
 | 
				
			||||||
let
 | 
					let
 | 
				
			||||||
  btrfs_options = [ "compress=zstd:3" "noatime" ];
 | 
					  btrfs_options = [ "compress=zstd:3" "noatime" "x-systemd.device-timeout=0" ];
 | 
				
			||||||
  btrfs_ssd = [ "ssd" "discard=async" ];
 | 
					  btrfs_ssd = [ "ssd" "discard=async" ];
 | 
				
			||||||
in
 | 
					in
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -19,6 +19,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      # Disable password timeout
 | 
					      # Disable password timeout
 | 
				
			||||||
      "luks.options=timeout=0"
 | 
					      "luks.options=timeout=0"
 | 
				
			||||||
 | 
					      "rd.luks.options=timeout=0"
 | 
				
			||||||
      "rootflags=x-systemd.device-timeout=0"
 | 
					      "rootflags=x-systemd.device-timeout=0"
 | 
				
			||||||
    ];
 | 
					    ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue