From 668876dbb240718516f0dda5ed989930b6c36a01 Mon Sep 17 00:00:00 2001 From: Alexandre LUCAZEAU Date: Thu, 6 Jul 2023 17:17:54 +0200 Subject: [PATCH] ADD : nextcloud.cfg for nextcloud desktop improve emacs org-roam --- hosts/dell-5590/nixpkgs/configs/i3config | 4 +- hosts/dell-5590/nixpkgs/configs/init.el | 2 +- hosts/dell-5590/nixpkgs/configs/nextcloud.cfg | 44 +++++++++++++++++++ hosts/dell-5590/nixpkgs/home.nix | 3 ++ hosts/sup/configuration.nix | 4 +- modules/configs/nextcloud.cfg | 44 +++++++++++++++++++ 6 files changed, 96 insertions(+), 5 deletions(-) create mode 100644 hosts/dell-5590/nixpkgs/configs/nextcloud.cfg create mode 100644 modules/configs/nextcloud.cfg diff --git a/hosts/dell-5590/nixpkgs/configs/i3config b/hosts/dell-5590/nixpkgs/configs/i3config index 35f7fbd..c026dd0 100644 --- a/hosts/dell-5590/nixpkgs/configs/i3config +++ b/hosts/dell-5590/nixpkgs/configs/i3config @@ -42,7 +42,7 @@ mode "resize" { bindsym $mod+s mode "resize" # Tue la fenetre avec le focus -bindsym $mod+Shift+A kill +bindsym $mod+k kill # split in horizontal orientation bindsym $mod+h split h @@ -98,7 +98,7 @@ bindsym $mod+Shift+9 move container to workspace $ws9 bindsym $mod+Shift+0 move container to workspace 10 # Recharge le fichier de configuration -bindsym $mod+Shift+C reload +bindsym $mod+Shift+C # Redemarre i3 mais concerve ce qui est lancé. Utilisable pour les MAJ bindsym $mod+Shift+R restart diff --git a/hosts/dell-5590/nixpkgs/configs/init.el b/hosts/dell-5590/nixpkgs/configs/init.el index 90f5292..1baffa9 100644 --- a/hosts/dell-5590/nixpkgs/configs/init.el +++ b/hosts/dell-5590/nixpkgs/configs/init.el @@ -154,7 +154,7 @@ (file+datetree+prompt "~/Nextcloud/PRIVE/13_Org/journal.org") "%K ****** %a\n%i\n%?\n") ("n" "Note dans le journal" entry (file "~/Nextcloud/PRIVE/13_Org/journal.org") - "* %? %^G\n%U" :empty-lines 1))) + "**** %? %^G\n" :empty-lines 1))) ;; Org-Roam basic configuration (use-package org-roam diff --git a/hosts/dell-5590/nixpkgs/configs/nextcloud.cfg b/hosts/dell-5590/nixpkgs/configs/nextcloud.cfg new file mode 100644 index 0000000..cf1972f --- /dev/null +++ b/hosts/dell-5590/nixpkgs/configs/nextcloud.cfg @@ -0,0 +1,44 @@ +[General] +clientVersion=3.6.4git +confirmExternalStorage=false +crashReporter=true +monoIcons=false +newBigFolderSizeLimit=500 +optionalServerNotifications=true +showCallNotifications=true +updateSegment=67 +useNewBigFolderSizeLimit=false + +[Accounts] +0\Folders\1\ignoreHiddenFiles=false +0\Folders\1\journalPath=.sync_70e356a9188d.db +0\Folders\1\localPath=/home/alexandre/Nextcloud/PRIVE/ +0\Folders\1\paused=false +0\Folders\1\targetPath=/ +0\Folders\1\version=2 +0\Folders\1\virtualFilesMode=off +0\authType=webflow +0\dav_user=alexandre +0\serverVersion=25.0.1.1 +0\url=https://next.atlanticaweb.fr +0\user=@Invalid() +0\version=1 +0\webflow_user=alexandre +1\Folders\3\ignoreHiddenFiles=false +1\Folders\3\journalPath=.sync_214037720ec4.db +1\Folders\3\localPath=/home/alexandre/Nextcloud/DRI/ +1\Folders\3\paused=false +1\Folders\3\targetPath=/ +1\Folders\3\version=2 +1\Folders\3\virtualFilesMode=off +1\authType=webflow +1\dav_user=alexandre +1\serverVersion=26.0.2.1 +1\url=https://next20.produhost.net +1\user=@Invalid() +1\version=1 +1\webflow_user=alexandre +version=2 + +[Settings] +geometry="@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x3=\0\0\0\xab\0\0\x5\xd4\0\0\x3\x1f\0\0\x3?\0\0\0\xab\0\0\x5\xd2\0\0\x3\x1d\0\0\0\0\0\0\0\0\a\x80\0\0\x3?\0\0\0\xab\0\0\x5\xd2\0\0\x3\x1d)" diff --git a/hosts/dell-5590/nixpkgs/home.nix b/hosts/dell-5590/nixpkgs/home.nix index cb3002d..0c43421 100644 --- a/hosts/dell-5590/nixpkgs/home.nix +++ b/hosts/dell-5590/nixpkgs/home.nix @@ -23,6 +23,9 @@ xdg.configFile = { "i3/config".source = ./configs/i3config; }; + xdg.configFile = { + "Nextcloud/nextcloud.cfg".source = ./configs/nextcloud.cfg; + }; xsession.numlock.enable = true; home.file = { "./.config/zellij/config.yaml" = { diff --git a/hosts/sup/configuration.nix b/hosts/sup/configuration.nix index 03607c9..e448d12 100644 --- a/hosts/sup/configuration.nix +++ b/hosts/sup/configuration.nix @@ -8,7 +8,7 @@ ../modules/smtp.nix ../modules/grafana.nix ../docker/podman.nix - + ]; system.stateVersion = "22.05"; boot.tmp.cleanOnBoot = true; @@ -16,6 +16,6 @@ networking.hostName = "sup"; services.openssh.enable = true; users.users.root.openssh.authorizedKeys.keys = [ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKUA1RW6JwZasspAp8qmFRFnlV5WXjhLfStAAkM+KYLv lucazeau.alexandre@gmail.com" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKUA1RW6JwZasspAp8qmFRFnlV5WXjhLfStAAkM+KYLv lucazeau.alexandre@gmail.com" ]; } diff --git a/modules/configs/nextcloud.cfg b/modules/configs/nextcloud.cfg new file mode 100644 index 0000000..cf1972f --- /dev/null +++ b/modules/configs/nextcloud.cfg @@ -0,0 +1,44 @@ +[General] +clientVersion=3.6.4git +confirmExternalStorage=false +crashReporter=true +monoIcons=false +newBigFolderSizeLimit=500 +optionalServerNotifications=true +showCallNotifications=true +updateSegment=67 +useNewBigFolderSizeLimit=false + +[Accounts] +0\Folders\1\ignoreHiddenFiles=false +0\Folders\1\journalPath=.sync_70e356a9188d.db +0\Folders\1\localPath=/home/alexandre/Nextcloud/PRIVE/ +0\Folders\1\paused=false +0\Folders\1\targetPath=/ +0\Folders\1\version=2 +0\Folders\1\virtualFilesMode=off +0\authType=webflow +0\dav_user=alexandre +0\serverVersion=25.0.1.1 +0\url=https://next.atlanticaweb.fr +0\user=@Invalid() +0\version=1 +0\webflow_user=alexandre +1\Folders\3\ignoreHiddenFiles=false +1\Folders\3\journalPath=.sync_214037720ec4.db +1\Folders\3\localPath=/home/alexandre/Nextcloud/DRI/ +1\Folders\3\paused=false +1\Folders\3\targetPath=/ +1\Folders\3\version=2 +1\Folders\3\virtualFilesMode=off +1\authType=webflow +1\dav_user=alexandre +1\serverVersion=26.0.2.1 +1\url=https://next20.produhost.net +1\user=@Invalid() +1\version=1 +1\webflow_user=alexandre +version=2 + +[Settings] +geometry="@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x3=\0\0\0\xab\0\0\x5\xd4\0\0\x3\x1f\0\0\x3?\0\0\0\xab\0\0\x5\xd2\0\0\x3\x1d\0\0\0\0\0\0\0\0\a\x80\0\0\x3?\0\0\0\xab\0\0\x5\xd2\0\0\x3\x1d)"