1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

added keepassxc, added nextcloud config, update to org-roam v2

This commit is contained in:
Stefan Ellmauthaler 2021-10-02 14:49:27 +02:00
parent e397a3c24f
commit 0ec3b4acc1
5 changed files with 63 additions and 135 deletions

View File

@ -1,8 +1,10 @@
#! /bin/sh #!/usr/bin/env nix-shell
#! nix-shell -i zsh -p zsh
cp /etc/nixos/configuration.nix . cp /etc/nixos/configuration.nix .
cp /etc/nixos/hardware-configuration.nix . cp /etc/nixos/hardware-configuration.nix .
cp -r /etc/nixos/programs . cp -r /etc/nixos/programs .
cp -r $HOME/.config/i3 ./home/config/. cp -r $HOME/.config/i3 ./home/config/.
cp -r $HOME/.config/nixpkgs ./home/config/. cp -r $HOME/.config/nixpkgs ./home/config/.
cp -r $HOME/.config/Nextcloud ./home/config/. mkdir -p ./home/config/Nextcloud
cp -r $HOME/.config/Nextcloud/nextcloud.cfg ./home/config/Nextcloud/.

View File

@ -1,133 +0,0 @@
2021-09-28 17:34:15:645 [ info nextcloud.gui.application ]: "################## Nextcloud locale:[en_GB] ui_lang:[] version:[3.2.1git] os:[NixOS 21.05 (Okapi)]"
2021-09-28 17:34:15:645 [ info nextcloud.gui.application ]: Using "en_GB" translation
2021-09-28 17:34:15:648 [ info nextcloud.gui.application ]: VFS suffix plugin is available
2021-09-28 17:34:15:649 [ debug nextcloud.gui.socketapi ] [ OCC::SocketApi::SocketApi ]: creating "/run/user/1000/Nextcloud" true
2021-09-28 17:34:15:649 [ info nextcloud.gui.socketapi ]: server started, listening at "/run/user/1000/Nextcloud/socket"
2021-09-28 17:34:15:649 [ info nextcloud.gui.folder.manager ]: setting remote poll timer interval to 30000 msec
2021-09-28 17:34:15:649 [ info nextcloud.gui.account.manager ]: Migrate: restoreFromLegacySettings, checking settings group "Nextcloud"
2021-09-28 17:34:15:649 [ info nextcloud.gui.account.manager ]: Migrate: checking old config "/home/ellmau/.config/ownCloud/owncloud.cfg"
2021-09-28 17:34:15:676 [ info nextcloud.gui.folder.manager ]: Setup folders from "/home/ellmau/.config/Nextcloud/folders" (migration)
2021-09-28 17:34:15:676 [ info nextcloud.sync.clientproxy ]: Set proxy configuration to use the preferred system proxy for http tcp connections
2021-09-28 17:34:15:792 [ warning default ]: qrc:/qml/src/gui/tray/Window.qml:151:25: QML Menu: Accessible must be attached to an Item
2021-09-28 17:34:15:792 [ warning default ]: qrc:/qml/src/gui/tray/Window.qml:480:21: QML Menu: Accessible must be attached to an Item
2021-09-28 17:34:15:793 [ warning default ]: qrc:/qml/src/gui/tray/Window.qml:14:1: QML Window: Accessible must be attached to an Item
2021-09-28 17:34:15:799 [ warning default ]: qrc:/qml/src/gui/tray/Window.qml:430:20: QML Image: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
2021-09-28 17:34:15:869 [ warning default ]: qrc:/qml/src/gui/tray/Window.qml:62:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
2021-09-28 17:34:15:869 [ warning default ]: qrc:/qml/src/gui/tray/Window.qml:49:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
2021-09-28 17:34:15:872 [ warning default ]: qrc:/qml/src/gui/tray/Window.qml:168: ReferenceError: PopupMenu is not defined
2021-09-28 17:34:15:872 [ warning default ]: qrc:/qml/src/gui/tray/Window.qml:323: TypeError: Cannot read property 'avatar' of null
2021-09-28 17:34:15:872 [ warning default ]: qrc:/qml/src/gui/tray/Window.qml:352: TypeError: Cannot read property 'statusIcon' of null
2021-09-28 17:34:15:872 [ warning default ]: qrc:/qml/src/gui/tray/Window.qml:360: TypeError: Property 'currentUserId' of object OCC::UserModel(0x5622f2423650) is not a function
2021-09-28 17:34:15:872 [ warning default ]: qrc:/qml/src/gui/tray/Window.qml:373: TypeError: Cannot read property 'name' of null
2021-09-28 17:34:15:872 [ warning default ]: qrc:/qml/src/gui/tray/Window.qml:382: TypeError: Cannot read property 'statusMessage' of null
2021-09-28 17:34:15:872 [ warning default ]: qrc:/qml/src/gui/tray/Window.qml:414: TypeError: Cannot read property 'hasLocalFolder' of null
2021-09-28 17:34:15:872 [ warning default ]: qrc:/qml/src/gui/tray/Window.qml:443: TypeError: Property 'currentUserId' of object OCC::UserModel(0x5622f2423650) is not a function
2021-09-28 17:34:15:872 [ warning default ]: qrc:/qml/src/gui/tray/Window.qml:453: TypeError: Cannot read property 'serverHasTalk' of null
2021-09-28 17:34:15:872 [ warning default ]: qrc:/qml/src/gui/tray/Window.qml:549: ReferenceError: activityModel is not defined
2021-09-28 17:34:15:872 [ info nextcloud.gui.application ]: No configured folders yet, starting setup wizard
2021-09-28 17:34:15:941 [ info nextcloud.gui.wizard.webviewpage ]: Time for a webview!
2021-09-28 17:34:16:018 [ debug default ] [ unknown ]: Use of deprecated not thread-safe setter, use setUrlRequestInterceptor instead.
2021-09-28 17:34:16:018 [ warning default ]: Please register the custom scheme 'nc' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
2021-09-28 17:34:16:028 [ debug nextcloud.gui.wizard ] [ OCC::OwncloudWizard::slotCurrentPageChanged ]: Current Wizard page changed to 0
2021-09-28 17:34:16:031 [ warning default ]: qrc:/qml/src/gui/tray/Window.qml:430:20: QML Image: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
2021-09-28 17:34:24:713 [ debug nextcloud.gui.wizard ] [ OCC::OwncloudWizard::slotCurrentPageChanged ]: Current Wizard page changed to -1
2021-09-28 17:34:24:720 [ info nextcloud.gui.wizard ]: Rejected the new config, use the old!
2021-09-28 17:34:45:973 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:34:45:973 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:34:45:973 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:35:15:972 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:35:15:973 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:35:15:973 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:35:45:973 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:35:45:973 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:35:45:973 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:36:15:973 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:36:15:973 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:36:15:973 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:36:45:973 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:36:45:973 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:36:45:973 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:37:15:973 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:37:15:973 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:37:15:973 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:37:45:970 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:37:45:971 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:37:45:971 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:38:15:969 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:38:15:969 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:38:15:969 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:38:45:968 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:38:45:968 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:38:45:968 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:39:15:973 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:39:15:973 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:39:15:973 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:39:45:973 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:39:45:973 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:39:45:973 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:40:15:971 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:40:15:971 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:40:15:971 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:40:45:967 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:40:45:968 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:40:45:968 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:41:15:968 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:41:15:969 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:41:15:969 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:41:45:971 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:41:45:971 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:41:45:972 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:42:15:973 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:42:15:973 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:42:15:973 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:42:45:972 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:42:45:972 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:42:45:972 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:43:15:970 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:43:15:970 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:43:15:970 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:43:45:973 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:43:45:973 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:43:45:973 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:44:15:972 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:44:15:973 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:44:15:973 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:44:45:973 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:44:45:973 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:44:45:973 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:45:15:968 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:45:15:968 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:45:15:968 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:45:45:968 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:45:45:969 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:45:45:969 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:46:15:972 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:46:15:973 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:46:15:973 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:46:45:970 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:46:45:971 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:46:45:971 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:47:15:973 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:47:15:973 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:47:15:973 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:47:45:973 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:47:45:973 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:47:45:973 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:48:15:973 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:48:15:973 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:48:15:973 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:48:45:969 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:48:45:969 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:48:45:969 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:49:15:972 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:49:15:973 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:49:15:973 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:49:45:973 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:49:45:973 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:49:45:973 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:50:15:969 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:50:15:970 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:50:15:970 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0
2021-09-28 17:50:45:969 [ info nextcloud.gui.folder.manager ]: Etag poll timer timeout
2021-09-28 17:50:45:969 [ info nextcloud.gui.folder.manager ]: Folders to sync: 0
2021-09-28 17:50:45:969 [ info nextcloud.gui.folder.manager ]: Number of folders that don't use push notifications: 0

View File

@ -1,2 +1,53 @@
[General] [General]
clientVersion=3.2.1git clientVersion=3.2.1git
confirmExternalStorage=true
newBigFolderSizeLimit=500
optionalServerNotifications=true
useNewBigFolderSizeLimit=true
[Accounts]
0\Folders\1\ignoreHiddenFiles=false
0\Folders\1\journalPath=.sync_fb2cf0a5e340.db
0\Folders\1\localPath=/home/ellmau/nextcloud/
0\Folders\1\paused=false
0\Folders\1\targetPath=/
0\Folders\1\version=2
0\Folders\1\virtualFilesMode=off
0\Folders\2\ignoreHiddenFiles=false
0\Folders\2\journalPath=.sync_661fd6cbfcd9.db
0\Folders\2\localPath=/home/ellmau/.keepasswd/
0\Folders\2\paused=false
0\Folders\2\targetPath=/keepass
0\Folders\2\version=2
0\Folders\2\virtualFilesMode=off
0\Folders\4\ignoreHiddenFiles=false
0\Folders\4\journalPath=.sync_a488fb740249.db
0\Folders\4\localPath=/home/ellmau/org-notes/
0\Folders\4\paused=false
0\Folders\4\targetPath=/org-notes
0\Folders\4\version=2
0\Folders\4\virtualFilesMode=off
0\authType=webflow
0\dav_user=stel830c
0\serverVersion=21.0.4.1
0\url=https://cloudstore.zih.tu-dresden.de
0\user=@Invalid()
0\version=1
0\webflow_user=stel830c
1\Folders\3\ignoreHiddenFiles=false
1\Folders\3\journalPath=.sync_d9ee4258d956.db
1\Folders\3\localPath=/home/ellmau/nextcloud_priv_digistore/
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=ellmau
1\serverVersion=20.0.9.1
1\url=https://cloudstore.ellmauthaler.net
1\version=1
1\webflow_user=ellmau
version=2
[Settings]
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\b+\0\0\x3\xe6\0\0\nH\0\0\x5\xb2\0\0\b-\0\0\x3\xe6\0\0\nF\0\0\x5\xb0\0\0\0\0\0\0\0\0\xf\0\0\0\b-\0\0\x3\xe6\0\0\nF\0\0\x5\xb0)

View File

@ -232,6 +232,9 @@ bindsym $mod+BackSpace mode "$mode_system"
# keyboard layout toggle # keyboard layout toggle
bindsym Mod1+space exec --no-startup-id .config/i3/keyboard_layout_toggle.sh bindsym Mod1+space exec --no-startup-id .config/i3/keyboard_layout_toggle.sh
# autostart keepassxc
exec --no-startup-id .config/i3/keepassxc.sh
# application specific stuff # application specific stuff
for_window[class="KeePassXC"] floating enable for_window[class="KeePassXC"] floating enable
#assign [class="KeePassXC"] $ws5 #assign [class="KeePassXC"] $ws5

5
home/config/i3/keepassxc.sh Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env nix-shell
#! nix-shell -i zsh -p zsh
sleep 5
secret-tool lookup keepass unlock | keepassxc --pw-stdin ~/.keepasswd/passwd-store.kdbx