Files
nixos-config/machines/configuration-laptop.nix
Elias Schröter 70497a93d0 adapt desktop
adapt config so that it works on desktop too
2026-03-20 23:00:30 +01:00

45 lines
1.4 KiB
Nix

{ pkgs, ... }:
{
imports = [
./hardware-configuration-laptop.nix
./../configuration.nix
];
networking.hostName = "eliasLaptop";
# ── Fingerprint ───────────────────────────────────────────────────────
services.fprintd = {
enable = true;
tod = {
enable = true;
driver = pkgs.libfprint-2-tod1-goodix;
};
};
# ── Hyprlock ──────────────────────────────────────────────────────────
security.pam.services = {
hyprlock = {
text = ''
auth sufficient pam_fprint.so
auth include login
'';
};
sudo.fprintAuth = false;
login.fprintAuth = true;
};
# ── Bluetooth ─────────────────────────────────────────────────────────
services.blueman.enable = true;
hardware.bluetooth = {
enable = true;
powerOnBoot = false;
};
# ── Network ───────────────────────────────────────────────────────────
environment.systemPackages = with pkgs; [
networkmanager-vpnc
networkmanagerapplet
];
}