nixos_config/hosts/electra/configuration.nix

53 lines
1.2 KiB
Nix
Raw Normal View History

2025-07-20 17:46:39 +02:00
{ config, pkgs, ... }:
{
imports =
[ ./hardware-configuration.nix ];
2025-07-23 19:46:19 +02:00
networking.hostName = "electra";
2025-07-23 13:16:55 +02:00
boot = {
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;
initrd = {
enable = true;
luks.devices."luks-654125f4-7b26-408d-b1b5-d31648ec8770".device = "/dev/disk/by-uuid/654125f4-7b26-408d-b1b5-d31648ec8770";
verbose = false;
};
plymouth = {
enable = true;
theme = "rings";
themePackages = with pkgs; [
# By default we would install all themes
(adi1090x-plymouth-themes.override {
selected_themes = [ "rings" ];
})
];
};
consoleLogLevel = 3;
kernelParams = [
"quiet"
"splash"
"boot.shell_on_fail"
"udev.log_priority=3"
"rd.systemd.show_status=auto"
"mem_sleep_default=s2idle"
];
loader.timeout = 0;
#resumeDevice = "/dev/disk/by-uuid/c49249b9-0d68-44af-97e0-e399c8409408";
};
2025-07-29 11:25:40 +02:00
systemd.services = {
fprintd = {
wantedBy = [ "multi-user.target" ];
serviceConfig.Type = "simple";
};
};
services = {
fprintd = {
enable = true;
tod.enable = true;
tod.driver = pkgs.libfprint-2-tod1-goodix;
};
};
2025-07-20 17:46:39 +02:00
}