cleanup common configs + disable CONFIG_VT if kmscon is enabled
This commit is contained in:
@@ -10,10 +10,7 @@
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
# shared across all hosts
|
||||
./common-doas.nix
|
||||
./common-shell-fish.nix
|
||||
./common-nix.nix
|
||||
./common.nix
|
||||
|
||||
# desktop-only modules
|
||||
./desktop-vm.nix
|
||||
@@ -34,8 +31,6 @@
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
hardware.cpu.amd.updateMicrocode = true;
|
||||
|
||||
services.kmscon.enable = true;
|
||||
|
||||
# Add niri to display manager session packages
|
||||
services.displayManager.sessionPackages = [ niri-package ];
|
||||
|
||||
@@ -255,6 +250,8 @@
|
||||
SGETMASK_SYSCALL = lib.mkForce no;
|
||||
UID16 = lib.mkForce no;
|
||||
X86_X32_ABI = lib.mkForce no;
|
||||
|
||||
VT = lib.mkForce (!config.services.kmscon.enable);
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user