More tidying; add fingerprint reading on Shura; auto-configure bootloader font size
This commit is contained in:
parent
d8743f1549
commit
ae4ed5ba69
|
@ -18,6 +18,7 @@
|
|||
kdeconnect.enable = true;
|
||||
media.enable = true;
|
||||
office.enable = true;
|
||||
social.enable = true;
|
||||
writing.enable = true;
|
||||
};
|
||||
ui = {
|
||||
|
|
|
@ -33,6 +33,7 @@ in
|
|||
media.enable = true;
|
||||
office.enable = true;
|
||||
recording.enable = true;
|
||||
social.enable = true;
|
||||
writing.enable = true;
|
||||
};
|
||||
ui = {
|
||||
|
|
|
@ -65,7 +65,15 @@
|
|||
hostName = "Shura";
|
||||
};
|
||||
|
||||
# TODO: Add fingerprint detection, but see this change first: https://bugs.launchpad.net/oem-priority/+bug/2024149
|
||||
# Add fingerprint detection
|
||||
services.fprintd = {
|
||||
enable = true;
|
||||
package = pkgs.fprintd-tod;
|
||||
tod = {
|
||||
enable = true;
|
||||
driver = pkgs.libfprint-2-tod1-elan;
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
}
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
./media.nix
|
||||
./office.nix
|
||||
./recording.nix
|
||||
./social.nix
|
||||
./writing.nix
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,8 @@ with lib;
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.flatpak.packages = lib.mkIf config.services.flatpak.enable [
|
||||
host.ui.flatpak.enable = true;
|
||||
services.flatpak.packages = [
|
||||
"gg.minion.Minion"
|
||||
"com.valvesoftware.Steam"
|
||||
"org.firestormviewer.FirestormViewer"
|
||||
|
|
23
modules/apps/social.nix
Normal file
23
modules/apps/social.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ pkgs, config, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.host.apps.social;
|
||||
in
|
||||
with lib;
|
||||
{
|
||||
options = {
|
||||
host.apps.social.enable = mkEnableOption (mdDoc "Enables chat apps");
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
beeper
|
||||
];
|
||||
|
||||
host.ui.flatpak.enable = true;
|
||||
services.flatpak.packages = [
|
||||
"com.discordapp.Discord"
|
||||
];
|
||||
};
|
||||
}
|
|
@ -36,6 +36,9 @@ with lib;
|
|||
enable = true;
|
||||
pkiBundle = "/etc/secureboot";
|
||||
};
|
||||
|
||||
# Increase bootloader font size
|
||||
lanzaboote.settings.console-mode = "auto";
|
||||
};
|
||||
|
||||
# Set up TPM. See https://nixos.wiki/wiki/TPM
|
||||
|
|
Loading…
Reference in a new issue