Compare commits

...

2 Commits

5 changed files with 9 additions and 23 deletions

21
flake.lock generated
View File

@ -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": [

View File

@ -23,6 +23,7 @@
signing.signByDefault = true;
extraConfig = {
pull.rebase = true;
push.autoSetupRemote = true;
safe.directory = "/etc/nixos";
credential.helper = "${package}/bin/git-credential-libsecret";

View File

@ -17,7 +17,7 @@
./office.nix
./hyprland
./sddm.nix
./security.nix
./security
./shell.nix
./social.nix
./users.nix

View File

@ -0,0 +1,5 @@
{
imports = [
./yubikey.nix
];
}

View File

@ -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;