mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-09 18:41:06 +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
|
|
@ -7,16 +7,10 @@ let
|
|||
cfg = config.services.flameshot;
|
||||
package = pkgs.flameshot;
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
in {
|
||||
meta.maintainers = [ maintainers.hamhut1066 ];
|
||||
|
||||
options = {
|
||||
services.flameshot = {
|
||||
enable = mkEnableOption "Flameshot";
|
||||
};
|
||||
};
|
||||
options = { services.flameshot = { enable = mkEnableOption "Flameshot"; }; };
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = [ package ];
|
||||
|
|
@ -33,9 +27,7 @@ in
|
|||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
Install = {
|
||||
WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
Install = { WantedBy = [ "graphical-session.target" ]; };
|
||||
|
||||
Service = {
|
||||
Environment = "PATH=${config.home.profileDirectory}/bin";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue