diff options
| author | sinanmohd <sinan@sinanmohd.com> | 2025-12-05 09:38:13 +0530 |
|---|---|---|
| committer | sinan@sinanmohd.com <sinan@sinanmohd.com> | 2025-12-06 13:40:30 +0530 |
| commit | 3dc8bee3cb3a472dcf8d3990a6623327ac75d985 (patch) | |
| tree | 25146bea88b88f95ab1b0c13b2c7f7e0456ddba4 /home | |
| parent | 7cf4cc6ae6b68cb206a65221b4ac9b4a3ea2e583 (diff) | |
feat(cez/specialisation/heater): init
Diffstat (limited to 'home')
| -rw-r--r-- | home/common/modules/git.nix | 13 | ||||
| -rw-r--r-- | home/wayland/modules/sway/swayidle.nix | 8 |
2 files changed, 8 insertions, 13 deletions
diff --git a/home/common/modules/git.nix b/home/common/modules/git.nix index 3f8a98e..077ee1d 100644 --- a/home/common/modules/git.nix +++ b/home/common/modules/git.nix @@ -1,15 +1,16 @@ { config, ... }: let - userName = config.global.userdata.nameFq; - userEmail = config.global.userdata.email; + name = config.global.userdata.nameFq; + email = config.global.userdata.email; in { programs.git = { enable = true; - inherit userName; - inherit userEmail; - - extraConfig = { + settings = { + user = { + inherit name; + inherit email; + }; color.ui = "auto"; init.defaultBranch = "master"; }; diff --git a/home/wayland/modules/sway/swayidle.nix b/home/wayland/modules/sway/swayidle.nix index d9ff473..b7d7d26 100644 --- a/home/wayland/modules/sway/swayidle.nix +++ b/home/wayland/modules/sway/swayidle.nix @@ -57,13 +57,7 @@ in services.swayidle = { enable = true; systemdTarget = "sway-session.target"; - - events = [ - { - event = "before-sleep"; - command = swaylock; - } - ]; + events."before-sleep" = swaylock; timeouts = [ { |
