From 9313ab8ce881cfb0a490b7f2e6f81d2c83876b2e Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Fri, 17 May 2024 18:14:09 -0700 Subject: Combine service and program blocks --- configuration.nix | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/configuration.nix b/configuration.nix index f76b872..4c1da0d 100644 --- a/configuration.nix +++ b/configuration.nix @@ -97,16 +97,21 @@ libGL ]; - programs.steam.enable = true; + programs = { + steam.enable = true; - services.pcscd.enable = true; - programs.gnupg.agent = { - enable = true; - enableSSHSupport = true; + gnupg.agent = { + enable = true; + enableSSHSupport = true; + }; + + dconf.enable = true; }; - programs.dconf.enable = true; - services.printing.enable = true; + services = { + pcscd.enable = true; + printing.enable = true; + }; # This option defines the first version of NixOS you have installed on this particular machine, # and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions. -- cgit v1.2.3