parent
14081936af
commit
fe7b03dd4a
19 changed files with 39 additions and 37 deletions
devices
|
@ -2,6 +2,7 @@
|
|||
config,
|
||||
nms,
|
||||
pkgs,
|
||||
self,
|
||||
...
|
||||
}: let
|
||||
inherit (config.vars) mainUser;
|
||||
|
@ -9,7 +10,7 @@ in {
|
|||
imports = [nms.nixosModules.default];
|
||||
|
||||
environment.systemPackages = [
|
||||
config.customPkgs.curseforge-server-downloader
|
||||
self.packages.${pkgs.system}.curseforge-server-downloader
|
||||
];
|
||||
|
||||
systemd.services.mc-steampunk.path = with pkgs; [curl];
|
||||
|
|
|
@ -1,18 +1,19 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
self,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkDefault mkBefore;
|
||||
inherit (config.customPkgs) pam-fprint-grosshack;
|
||||
inherit (self.packages.${pkgs.system}) pam-fprint-grosshack;
|
||||
|
||||
pam_fprintd_grosshackSo = "${pam-fprint-grosshack}/lib/security/pam_fprintd_grosshack.so";
|
||||
|
||||
# https://wiki.archlinux.org/title/Fprint#Login_configuration
|
||||
grosshackConf = ''
|
||||
# pam-fprint-grosshack
|
||||
auth sufficient ${pam_fprintd_grosshackSo} timeout=99
|
||||
auth sufficient pam_unix.so try_first_pass nullok
|
||||
auth sufficient ${pam_fprintd_grosshackSo} timeout=99
|
||||
auth sufficient pam_unix.so try_first_pass nullok
|
||||
'';
|
||||
in {
|
||||
services.fprintd.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue