mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-27 12:41:02 +01:00
Apply nixfmt on many files
This commit is contained in:
parent
9799d3de2d
commit
45abf3d38a
177 changed files with 2850 additions and 3565 deletions
|
|
@ -29,7 +29,7 @@ in {
|
|||
|
||||
xautolockExtraOptions = mkOption {
|
||||
type = types.listOf types.str;
|
||||
default = [];
|
||||
default = [ ];
|
||||
description = ''
|
||||
Extra command-line arguments to pass to <command>xautolock</command>.
|
||||
'';
|
||||
|
|
@ -37,7 +37,7 @@ in {
|
|||
|
||||
xssLockExtraOptions = mkOption {
|
||||
type = types.listOf types.str;
|
||||
default = [];
|
||||
default = [ ];
|
||||
description = ''
|
||||
Extra command-line arguments to pass to <command>xss-lock</command>.
|
||||
'';
|
||||
|
|
@ -53,9 +53,7 @@ in {
|
|||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
Install = {
|
||||
WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
Install = { WantedBy = [ "graphical-session.target" ]; };
|
||||
|
||||
Service = {
|
||||
ExecStart = concatStringsSep " " ([
|
||||
|
|
@ -70,7 +68,9 @@ in {
|
|||
# xss-lock will run specified screen locker when the session is locked via loginctl
|
||||
# can't be started as a systemd service,
|
||||
# see https://bitbucket.org/raymonad/xss-lock/issues/13/allow-operation-as-systemd-user-unit
|
||||
xsession.initExtra = "${pkgs.xss-lock}/bin/xss-lock ${concatStringsSep " " cfg.xssLockExtraOptions} -- ${cfg.lockCmd} &";
|
||||
xsession.initExtra = "${pkgs.xss-lock}/bin/xss-lock ${
|
||||
concatStringsSep " " cfg.xssLockExtraOptions
|
||||
} -- ${cfg.lockCmd} &";
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue