1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-05 16:41:04 +01:00

treewide: reformat nixfmt-rfc-style

Reformat repository using new nixfmt-rfc-style.
This commit is contained in:
Austin Horstman 2025-04-07 16:11:29 -05:00
parent 5df48c4255
commit cba2f9ce95
1051 changed files with 37028 additions and 26594 deletions

View file

@ -1,10 +1,17 @@
{ config, lib, pkgs, ... }:
{
config,
lib,
pkgs,
...
}:
with lib;
let cfg = config.services.unclutter;
let
cfg = config.services.unclutter;
in {
in
{
options.services.unclutter = {
enable = mkEnableOption "unclutter";
@ -32,14 +39,16 @@ in {
description = "More arguments to pass to the unclutter command.";
type = types.listOf types.str;
default = [ ];
example = [ "exclude-root" "ignore-scrolling" ];
example = [
"exclude-root"
"ignore-scrolling"
];
};
};
config = mkIf cfg.enable {
assertions = [
(lib.hm.assertions.assertPlatform "services.unclutter" pkgs
lib.platforms.linux)
(lib.hm.assertions.assertPlatform "services.unclutter" pkgs lib.platforms.linux)
];
systemd.user.services.unclutter = {
@ -60,7 +69,9 @@ in {
Restart = "always";
};
Install = { WantedBy = [ "graphical-session.target" ]; };
Install = {
WantedBy = [ "graphical-session.target" ];
};
};
};
}