summaryrefslogtreecommitdiff
path: root/hosts/common/packages.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/common/packages.nix')
-rw-r--r--hosts/common/packages.nix20
1 files changed, 11 insertions, 9 deletions
diff --git a/hosts/common/packages.nix b/hosts/common/packages.nix
index eb60f10..3a4d2b2 100644
--- a/hosts/common/packages.nix
+++ b/hosts/common/packages.nix
@@ -1,24 +1,26 @@
-{ pkgs
-, desktop
-, ...
-}:
-let
+{
+ pkgs,
+ desktop,
+ ...
+}: let
gui = desktop != "";
pinentry = with pkgs;
if desktop == "gnome"
then pinentry-gnome
else pinentry-curses;
-in
-{
+in {
environment.systemPackages = with pkgs;
[
neofetch
python311
]
- ++ [ pinentry ];
+ ++ [pinentry];
programs = {
- firefox.enable = if gui then true else false;
+ firefox.enable =
+ if gui
+ then true
+ else false;
git.enable = true;
gnupg = {
agent = {