✨ 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-stable": "nixpkgs-stable",
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
"nixvim": "nixvim",
|
"nixvim": "nixvim",
|
||||||
"sops-nix": "sops-nix",
|
|
||||||
"spicetify-nix": "spicetify-nix",
|
"spicetify-nix": "spicetify-nix",
|
||||||
"zen-browser": "zen-browser"
|
"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": {
|
"spicetify-nix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
./office.nix
|
./office.nix
|
||||||
./hyprland
|
./hyprland
|
||||||
./sddm.nix
|
./sddm.nix
|
||||||
./security.nix
|
./security
|
||||||
./shell.nix
|
./shell.nix
|
||||||
./social.nix
|
./social.nix
|
||||||
./users.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, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
gnupg
|
gnupg
|
||||||
yubioath-flutter
|
yubioath-flutter # GUI
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.gnupg.agent.enable = true;
|
programs.gnupg.agent.enable = true;
|
Loading…
x
Reference in New Issue
Block a user