This commit is contained in:
2025-08-06 11:22:10 +02:00
parent d50def1368
commit a6871f94a8
8 changed files with 42 additions and 12 deletions

View File

@@ -28,17 +28,6 @@
enable = true;
keyboards = {
internalKeyboard = {
devices = [
# Replace the paths below with the appropriate device paths for your setup.
# Use `ls /dev/input/by-path/` to find your keyboard devices.
"/dev/input/by-path/pci-0000:66:00.0-usb-0:2.3:1.0-event-kbd"
"/dev/input/by-path/pci-0000:66:00.0-usb-0:2.4:1.0-event-kbd"
"/dev/input/by-path/pci-0000:66:00.0-usb-0:2.4:1.2-event-kbd"
"/dev/input/by-path/pci-0000:66:00.0-usbv2-0:2.3:1.0-event-kbd"
"/dev/input/by-path/pci-0000:66:00.0-usbv2-0:2.4:1.0-event-kbd"
"/dev/input/by-path/pci-0000:66:00.0-usbv2-0:2.4:1.2-event-kbd"
"/dev/input/by-path/platform-i8042-serio-0-event-kbd"
];
extraDefCfg = "process-unmapped-keys yes";
config = ''
(defsrc

10
modules/system/gpg.nix Normal file
View File

@@ -0,0 +1,10 @@
{pkgs, ...}:
{
services.pcscd.enable = true;
programs.gnupg.agent = {
enable = true;
pinentryPackage = pkgs.pinentry-curses;
enableSSHSupport = true;
};
}

View File

@@ -0,0 +1,14 @@
{
nixpkgs.config.allowUnfree = true;
virtualisation.virtualbox.host = {
enable = true;
enableKvm = true;
enableHardening = false;
addNetworkInterface = false;
};
users.extraGroups.vboxusers.members = [ "lukas" ];
virtualisation.virtualbox.host.enableExtensionPack = true;
}