mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
treewide: reformat nixfmt-rfc-style
Reformat repository using new nixfmt-rfc-style.
This commit is contained in:
parent
5df48c4255
commit
cba2f9ce95
1051 changed files with 37028 additions and 26594 deletions
|
|
@ -1,10 +1,16 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) literalExpression mkOption types;
|
||||
|
||||
cfg = config.programs.password-store;
|
||||
|
||||
in {
|
||||
in
|
||||
{
|
||||
meta.maintainers = with lib.maintainers; [ euxane ];
|
||||
|
||||
options.programs.password-store = {
|
||||
|
|
@ -46,10 +52,10 @@ in {
|
|||
home.packages = [ cfg.package ];
|
||||
home.sessionVariables = cfg.settings;
|
||||
|
||||
services.pass-secret-service.storePath =
|
||||
lib.mkDefault cfg.settings.PASSWORD_STORE_DIR;
|
||||
services.pass-secret-service.storePath = lib.mkDefault cfg.settings.PASSWORD_STORE_DIR;
|
||||
|
||||
xsession.importedVariables = lib.mkIf config.xsession.enable
|
||||
(lib.mapAttrsToList (name: value: name) cfg.settings);
|
||||
xsession.importedVariables = lib.mkIf config.xsession.enable (
|
||||
lib.mapAttrsToList (name: value: name) cfg.settings
|
||||
);
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue