1
0
Fork 0

More tidying; add fingerprint reading on Shura; auto-configure bootloader font size

This commit is contained in:
Aires 2024-05-02 17:14:21 -04:00
parent d8743f1549
commit ae4ed5ba69
7 changed files with 41 additions and 3 deletions

View file

@ -18,6 +18,7 @@
kdeconnect.enable = true; kdeconnect.enable = true;
media.enable = true; media.enable = true;
office.enable = true; office.enable = true;
social.enable = true;
writing.enable = true; writing.enable = true;
}; };
ui = { ui = {

View file

@ -33,6 +33,7 @@ in
media.enable = true; media.enable = true;
office.enable = true; office.enable = true;
recording.enable = true; recording.enable = true;
social.enable = true;
writing.enable = true; writing.enable = true;
}; };
ui = { ui = {

View file

@ -65,7 +65,15 @@
hostName = "Shura"; 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"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
} }

View file

@ -7,6 +7,7 @@
./media.nix ./media.nix
./office.nix ./office.nix
./recording.nix ./recording.nix
./social.nix
./writing.nix ./writing.nix
]; ];
} }

View file

@ -11,7 +11,8 @@ with lib;
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
services.flatpak.packages = lib.mkIf config.services.flatpak.enable [ host.ui.flatpak.enable = true;
services.flatpak.packages = [
"gg.minion.Minion" "gg.minion.Minion"
"com.valvesoftware.Steam" "com.valvesoftware.Steam"
"org.firestormviewer.FirestormViewer" "org.firestormviewer.FirestormViewer"

23
modules/apps/social.nix Normal file
View 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"
];
};
}

View file

@ -36,6 +36,9 @@ with lib;
enable = true; enable = true;
pkiBundle = "/etc/secureboot"; pkiBundle = "/etc/secureboot";
}; };
# Increase bootloader font size
lanzaboote.settings.console-mode = "auto";
}; };
# Set up TPM. See https://nixos.wiki/wiki/TPM # Set up TPM. See https://nixos.wiki/wiki/TPM