From 28fca4d92977627cddd02f80ecbe47bda2bef1c8 Mon Sep 17 00:00:00 2001 From: uttarayan21 Date: Thu, 14 Mar 2024 02:18:03 +0530 Subject: [PATCH] [feat] Use nextcloud-client service --- common/home.nix | 15 +++++++-------- linux/hyprland.nix | 2 +- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/common/home.nix b/common/home.nix index 930ad6ff..3a265c8f 100644 --- a/common/home.nix +++ b/common/home.nix @@ -84,6 +84,11 @@ xdg.enable = true; + services.nextcloud-client = { + enable = true; + startInBackground = true; + }; + programs = { direnv = { enable = true; @@ -219,14 +224,12 @@ if device.isMac then pkgs.pinentry_mac else pkgs.pinentry-qt; }; }; - # Let Home Manager install and manage itself. home-manager = { enable = true; }; }; fonts.fontconfig.enable = true; + home = { - # Home Manager needs a bit of information about you and the paths it should - # manage. username = device.user; homeDirectory = if device.isMac then @@ -237,10 +240,7 @@ stateVersion = "23.11"; file = { - # ".config/tmux/sessions".source = ../../tmux/sessions; - # ".config/macchina".source = ../../macchina; ".config/fish/themes".source = pkgs.catppuccinThemes.fish + "/themes"; - # ".cache/nix-index".source = pkgs.nix-index-database; }; sessionVariables = { @@ -250,8 +250,7 @@ BROWSER = "xdg-open"; }; sessionPath = [ - "${config.home.homeDirectory}/.local/bin" - "${config.home.homeDirectory}/.nix-profile/bin" + "${config.home.homeDirectory}/.cargo/bin" ]; }; } diff --git a/linux/hyprland.nix b/linux/hyprland.nix index 399296f7..ba664244 100644 --- a/linux/hyprland.nix +++ b/linux/hyprland.nix @@ -128,7 +128,7 @@ # "${pkgs.swayosd}/bin/swayosd-server" # "${pkgs.swww}/bin/swww init; swww img ~/.local/share/dotfiles/images/wallpaper.jpg" "${pkgs.ironbar}/bin/ironbar" - "${pkgs.nextcloud-client}/bin/nextcloud --background" + # "${pkgs.nextcloud-client}/bin/nextcloud --background" ]; "$mainMod" = "SUPER";