[feat] Use nextcloud-client service

This commit is contained in:
uttarayan21
2024-03-14 02:18:03 +05:30
parent eb155688cb
commit 28fca4d929
2 changed files with 8 additions and 9 deletions

View File

@@ -84,6 +84,11 @@
xdg.enable = true; xdg.enable = true;
services.nextcloud-client = {
enable = true;
startInBackground = true;
};
programs = { programs = {
direnv = { direnv = {
enable = true; enable = true;
@@ -219,14 +224,12 @@
if device.isMac then pkgs.pinentry_mac else pkgs.pinentry-qt; if device.isMac then pkgs.pinentry_mac else pkgs.pinentry-qt;
}; };
}; };
# Let Home Manager install and manage itself.
home-manager = { enable = true; }; home-manager = { enable = true; };
}; };
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;
home = { home = {
# Home Manager needs a bit of information about you and the paths it should
# manage.
username = device.user; username = device.user;
homeDirectory = homeDirectory =
if device.isMac then if device.isMac then
@@ -237,10 +240,7 @@
stateVersion = "23.11"; stateVersion = "23.11";
file = { file = {
# ".config/tmux/sessions".source = ../../tmux/sessions;
# ".config/macchina".source = ../../macchina;
".config/fish/themes".source = pkgs.catppuccinThemes.fish + "/themes"; ".config/fish/themes".source = pkgs.catppuccinThemes.fish + "/themes";
# ".cache/nix-index".source = pkgs.nix-index-database;
}; };
sessionVariables = { sessionVariables = {
@@ -250,8 +250,7 @@
BROWSER = "xdg-open"; BROWSER = "xdg-open";
}; };
sessionPath = [ sessionPath = [
"${config.home.homeDirectory}/.local/bin" "${config.home.homeDirectory}/.cargo/bin"
"${config.home.homeDirectory}/.nix-profile/bin"
]; ];
}; };
} }

View File

@@ -128,7 +128,7 @@
# "${pkgs.swayosd}/bin/swayosd-server" # "${pkgs.swayosd}/bin/swayosd-server"
# "${pkgs.swww}/bin/swww init; swww img ~/.local/share/dotfiles/images/wallpaper.jpg" # "${pkgs.swww}/bin/swww init; swww img ~/.local/share/dotfiles/images/wallpaper.jpg"
"${pkgs.ironbar}/bin/ironbar" "${pkgs.ironbar}/bin/ironbar"
"${pkgs.nextcloud-client}/bin/nextcloud --background" # "${pkgs.nextcloud-client}/bin/nextcloud --background"
]; ];
"$mainMod" = "SUPER"; "$mainMod" = "SUPER";