From fcf0f8d39d73b3f7d823b67865f20b553b9e33f4 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 29 Jan 2025 01:15:42 +0000 Subject: [PATCH] Only add `upload-to-files` on t490 It's not needed on other systems, such as hetznix. --- nix/home/opdavies/hosts/t490.nix | 7 +++++-- nix/users/opdavies/default.nix | 4 +--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/nix/home/opdavies/hosts/t490.nix b/nix/home/opdavies/hosts/t490.nix index 524c451..2936ce8 100644 --- a/nix/home/opdavies/hosts/t490.nix +++ b/nix/home/opdavies/hosts/t490.nix @@ -1,4 +1,4 @@ -{ ... }: +{ pkgs, ... }: { features = { @@ -28,5 +28,8 @@ }; }; - home.packages = with pkgs; [ isync ]; + home.packages = with pkgs; [ + isync + upload-to-files + ]; } diff --git a/nix/users/opdavies/default.nix b/nix/users/opdavies/default.nix index df4437f..47ebd36 100644 --- a/nix/users/opdavies/default.nix +++ b/nix/users/opdavies/default.nix @@ -23,9 +23,7 @@ packages = with pkgs; - [ - upload-to-files - ] + [ ] ++ pkgs.lib.optionals (!headless) [ brave firefox