Skip to content

Commit

Permalink
nixos-modules/host/default: format
Browse files Browse the repository at this point in the history
  • Loading branch information
astro committed Apr 25, 2024
1 parent 2ad09b2 commit efac82e
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions nixos-modules/host/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,17 @@ in
inherit group;
};

security.pam.loginLimits = [
{
domain = "${user}";
item = "memlock";
type = "hard";
value = "infinity";
}
{
domain = "${user}";
item = "memlock";
type = "soft";
value = "infinity";
}
];
security.pam.loginLimits = [ {
domain = user;
item = "memlock";
type = "hard";
value = "infinity";
} {
domain = user;
item = "memlock";
type = "soft";
value = "infinity";
} ];

systemd.services = builtins.foldl' (result: name: result // (
let
Expand Down

0 comments on commit efac82e

Please sign in to comment.