1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 08:10:43 +01:00

feat: enable Touch ID for sudo

This commit is contained in:
Ryan Cao 2023-08-12 11:10:14 +08:00
parent 0ba744508c
commit aee05f3e1c
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
2 changed files with 21 additions and 17 deletions

24
flake.lock generated
View file

@ -88,11 +88,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1691157685, "lastModified": 1691809246,
"narHash": "sha256-Ra+ep2ZfkY8hxdpXPwlMS4zp76ezlVkJP7b2N2rZTtA=", "narHash": "sha256-TjTwT5SnM/o1wEBUZh+ZEObrNiYPzUtg/mWyJENvgs8=",
"owner": "ryanccn", "owner": "ryanccn",
"repo": "discord-applemusic-rich-presence", "repo": "discord-applemusic-rich-presence",
"rev": "7b584ff49d7e65cfe60af6d34228505ecb1857c6", "rev": "10a759594a8fdc7c7cfe1c7e7fe19ada58639dda",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -139,11 +139,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1691225770, "lastModified": 1691672736,
"narHash": "sha256-O5slH8nW8msTAqVAS5rkvdHSkjmrO+JauuSDzZCmv2M=", "narHash": "sha256-HNPA/dKHerA0p4OsToEcW/DtTSXBcK5gFRsy/yPgV/Y=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "0a014a729cdd54d9919ff36b714d047909d7a4c8", "rev": "6e1eff9aac0e8d84bda7f2d60ba6108eea9b7e79",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -159,11 +159,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1691275315, "lastModified": 1691640097,
"narHash": "sha256-9WN0IA0vNZSNxKHpy/bYvPnCw4VH/nr5iBv7c+7KUts=", "narHash": "sha256-6vPsJYjtt2hs4mkiR46yt8c/Spdm/UiUKoSCIlc7iJw=",
"owner": "LnL7", "owner": "LnL7",
"repo": "nix-darwin", "repo": "nix-darwin",
"rev": "829041cf10c4f6751a53c0a11ca2fd22ff0918d6", "rev": "426d38710b656b0a31f8eaae6e0002206a3b96d7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -174,11 +174,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1691218994, "lastModified": 1691709280,
"narHash": "sha256-46GJ5vLf9H+Oh7Jii2gJI9GATJHGbx2iQpon5nUSFPI=", "narHash": "sha256-zmfH2OlZEXwv572d0g8f6M5Ac6RiO8TxymOpY3uuqrM=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "0d2fb29f5071a12d7983319c2c2576be6a130582", "rev": "cf73a86c35a84de0e2f3ba494327cf6fb51c0dfd",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -15,9 +15,6 @@
rustc rustc
cargo cargo
rustfmt
rust-analyzer
clippy
ccache ccache
deno deno
@ -26,15 +23,17 @@
(python311.withPackages (ps: (python311.withPackages (ps:
with ps; [ with ps; [
pip
yt-dlp yt-dlp
xkcdpass xkcdpass
# catppuccin-catwalk
])) ]))
libffi libffi
openssl openssl
rust-analyzer rust-analyzer
nodePackages.typescript-language-server nodePackages.typescript-language-server
rustfmt
clippy
age age
asciinema asciinema
@ -60,7 +59,6 @@
nerdfix nerdfix
pscale pscale
railway railway
redis
silicon silicon
tealdeer tealdeer
tokei tokei
@ -70,6 +68,10 @@
zoxide zoxide
typst typst
packwiz
catppuccin-catwalk
packwiz
]; ];
services.nix-daemon.enable = true; services.nix-daemon.enable = true;
@ -108,6 +110,8 @@
''; '';
}; };
security.pam.enableSudoTouchIdAuth = true;
programs.zsh.enable = true; programs.zsh.enable = true;
programs.fish.enable = true; programs.fish.enable = true;