✨ Moved yubikey config to security dir and rename
This commit is contained in:
parent
16c4a8f46b
commit
0474fd9802
21
flake.lock
generated
21
flake.lock
generated
@ -509,31 +509,10 @@
|
||||
"nixpkgs-stable": "nixpkgs-stable",
|
||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||
"nixvim": "nixvim",
|
||||
"sops-nix": "sops-nix",
|
||||
"spicetify-nix": "spicetify-nix",
|
||||
"zen-browser": "zen-browser"
|
||||
}
|
||||
},
|
||||
"sops-nix": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1744103455,
|
||||
"narHash": "sha256-SR6+qjkPjGQG+8eM4dCcVtss8r9bre/LAxFMPJpaZeU=",
|
||||
"owner": "mic92",
|
||||
"repo": "sops-nix",
|
||||
"rev": "69d5a5a4635c27dae5a742f36108beccc506c1ba",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "mic92",
|
||||
"repo": "sops-nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"spicetify-nix": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
@ -17,7 +17,7 @@
|
||||
./office.nix
|
||||
./hyprland
|
||||
./sddm.nix
|
||||
./security.nix
|
||||
./security
|
||||
./shell.nix
|
||||
./social.nix
|
||||
./users.nix
|
||||
|
5
shared/modules/security/default.nix
Normal file
5
shared/modules/security/default.nix
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
imports = [
|
||||
./yubikey.nix
|
||||
];
|
||||
}
|
@ -1,9 +1,10 @@
|
||||
# Yubikey config: https://nixos.wiki/wiki/Yubikey#pam_u2f
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
gnupg
|
||||
yubioath-flutter
|
||||
yubioath-flutter # GUI
|
||||
];
|
||||
|
||||
programs.gnupg.agent.enable = true;
|
Loading…
x
Reference in New Issue
Block a user