From 8df2e5c1b91c483b3179ca5ede49089c33c56080 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 12 Jan 2025 11:48:38 +0000 Subject: [PATCH] Refactor programs --- nix/hosts/t490/programs.nix | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/nix/hosts/t490/programs.nix b/nix/hosts/t490/programs.nix index dcfb912..ebbf2ef 100644 --- a/nix/hosts/t490/programs.nix +++ b/nix/hosts/t490/programs.nix @@ -1,20 +1,22 @@ { pkgs, ... }: { - programs.gnupg.agent = { - enable = true; - enableSSHSupport = true; - pinentryPackage = pkgs.pinentry-qt; - }; + programs = { + gnupg.agent = { + enable = true; + enableSSHSupport = true; + pinentryPackage = pkgs.pinentry-qt; + }; - programs.firefox = { - enable = true; + firefox = { + enable = true; - languagePacks = [ "en-GB" ]; + languagePacks = [ "en-GB" ]; - preferences = { - "intl.accept_languages" = "en-GB, en"; - "intl.regional_prefs.use_os_locales" = true; + preferences = { + "intl.accept_languages" = "en-GB, en"; + "intl.regional_prefs.use_os_locales" = true; + }; }; }; }