From 4d50efa57645ea50518fea10238e46aa51a8f6ed Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 25 Aug 2024 12:31:22 -0400 Subject: [PATCH] thelio76: add package --- config/apps/nextcloud.nix | 4 +++- config/hosts/thelio76/default.nix | 9 +++++---- config/modules/bspwm/bspwm.nix | 11 +++++++++-- config/modules/bspwm/polybar.nix | 8 +++++++- 4 files changed, 24 insertions(+), 8 deletions(-) diff --git a/config/apps/nextcloud.nix b/config/apps/nextcloud.nix index 6f23c31..de9ca84 100644 --- a/config/apps/nextcloud.nix +++ b/config/apps/nextcloud.nix @@ -1,7 +1,9 @@ -{ ... }: +{ pkgs, ... }: { services.nextcloud-client = { enable = true; startInBackground = true; }; + + home.packages = with pkgs; [ nextcloud-client ]; } diff --git a/config/hosts/thelio76/default.nix b/config/hosts/thelio76/default.nix index 6e19803..4daafcc 100644 --- a/config/hosts/thelio76/default.nix +++ b/config/hosts/thelio76/default.nix @@ -87,10 +87,11 @@ options = [ "bind" "x-gvfs-hide" ]; }; - "${homePrefix}/Pictures" = { - device = "${externalPrefix}/Pictures"; - options = [ "bind" "x-gvfs-hide" ]; - }; + ## Keep pictures on local disk for space + # "${homePrefix}/Pictures" = { + # device = "${externalPrefix}/Pictures"; + # options = [ "bind" "x-gvfs-hide" ]; + # }; "${homePrefix}/Videos" = { device = "${externalPrefix}/Videos"; diff --git a/config/modules/bspwm/bspwm.nix b/config/modules/bspwm/bspwm.nix index 8fa97b3..4208ed2 100644 --- a/config/modules/bspwm/bspwm.nix +++ b/config/modules/bspwm/bspwm.nix @@ -3,8 +3,15 @@ xsession.windowManager.bspwm = let theme = import ../theme.nix "light"; - primaryMonitor = "eDP-1"; # = "DP-2" for thelio - windowGap = 2; # = "theme.sizing.xl" for thelio + + # TODO make this based on hostname + ## thelio settings + primaryMonitor = "DP-2"; + windowGap = theme.sizing.xl; + + ## galago settings + # primaryMonitor = "eDP-1"; + # windowGap = 2; in { enable = true; diff --git a/config/modules/bspwm/polybar.nix b/config/modules/bspwm/polybar.nix index 4d4fc4e..32d83ea 100644 --- a/config/modules/bspwm/polybar.nix +++ b/config/modules/bspwm/polybar.nix @@ -7,7 +7,13 @@ let theme = import ../theme.nix "light"; colors = theme.colors; - primaryMonitor = "eDP-1"; # = "DP-2" for thelio + + # TODO make this based on hostname + ## thelio settings + primaryMonitor = "DP-2"; + + ## galago settings + # primaryMonitor = "eDP-1"; in rec { common-bar = {