🔐 Yubikey
Can now log in using yubikey. Moved icons for hyprcursor and added a manifest file.
This commit is contained in:
parent
6d6331f4b4
commit
bd8a71e177
@ -16,6 +16,7 @@
|
||||
./audio.nix
|
||||
./networking.nix
|
||||
./development.nix
|
||||
./security.nix
|
||||
];
|
||||
|
||||
# Bootloader.
|
||||
@ -102,10 +103,7 @@
|
||||
# programs.mtr.enable = true;
|
||||
|
||||
programs = {
|
||||
|
||||
dconf = {
|
||||
enable = true;
|
||||
};
|
||||
dconf.enable = true;
|
||||
|
||||
gnupg.agent.enable = true;
|
||||
|
||||
@ -137,11 +135,7 @@
|
||||
|
||||
flatpak.enable = true;
|
||||
|
||||
gnome = {
|
||||
gnome-keyring.enable = true;
|
||||
};
|
||||
|
||||
pcscd.enable = true;
|
||||
gnome.gnome-keyring.enable = true;
|
||||
|
||||
xserver = {
|
||||
enable = true;
|
||||
|
@ -1,13 +1,16 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
# TODO Not working correctly, see https://github.com/hyprwm/hyprcursor/issues/19
|
||||
home.packages = with pkgs; [
|
||||
hyprcursor
|
||||
];
|
||||
|
||||
# TODO remove in favour of hyprland flake
|
||||
home.file = {
|
||||
".local/share/icons/rose-pine-hyprcursor" = {
|
||||
source = ./icons;
|
||||
".local/share/icons/rose-pine-hyprcursor/manifest.hl".source = ./manifest.hl;
|
||||
".local/share/icons/rose-pine-hyprcursor/hyprcursors" = {
|
||||
source = ./hyprcursors;
|
||||
recursive = true;
|
||||
};
|
||||
};
|
||||
|
4
hyprland/hyprcursor/manifest.hl
Normal file
4
hyprland/hyprcursor/manifest.hl
Normal file
@ -0,0 +1,4 @@
|
||||
name = rose-pine-hyprcursor
|
||||
description = BreezeX remixed with Rose Pine remixed to Hyprcursor format
|
||||
version = 0.3.2
|
||||
cursors_directory = hyprcursors
|
17
security.nix
Normal file
17
security.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
yubioath-flutter
|
||||
];
|
||||
|
||||
security.pam.services = {
|
||||
login.u2fAuth = true;
|
||||
sudo.u2fAuth = true;
|
||||
};
|
||||
|
||||
services = {
|
||||
pcscd.enable = true;
|
||||
udev.packages = with pkgs; [ yubikey-personalization ];
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user