some changes

This commit is contained in:
2024-07-03 21:37:42 +02:00
parent 30f5ca374f
commit a1907c8adb
4 changed files with 59 additions and 2 deletions

View File

@@ -0,0 +1,35 @@
{
"directories" : [ {
"id" : "18g3gg35eC6T",
"path" : "/home/dominik/cloud.cloonar.com/Documents",
"displayName" : "Documents",
"unlockAfterStartup" : false,
"revealAfterMount" : true,
"usesReadOnlyMode" : false,
"mountFlags" : "",
"maxCleartextFilenameLength" : 2147483647,
"actionAfterUnlock" : "IGNORE",
"autoLockWhenIdle" : false,
"autoLockIdleSeconds" : 1800,
"port" : 42427
} ],
"writtenByVersion" : "1.12.4-nix-1.12.4",
"askedForUpdateCheck" : false,
"autoCloseVaults" : true,
"checkForUpdatesEnabled" : false,
"debugMode" : false,
"theme" : "LIGHT",
"keychainProvider" : "org.cryptomator.linux.keychain.SecretServiceKeychainAccess",
"numTrayNotifications" : 3,
"port" : 42427,
"showMinimizeButton" : false,
"showTrayIcon" : true,
"startHidden" : true,
"uiOrientation" : "LEFT_TO_RIGHT",
"useKeychain" : true,
"windowHeight" : 440,
"windowWidth" : 650,
"windowXPosition" : 426,
"windowYPosition" : 280,
"lastUpdateCheck" : "2000-01-01"
}

View File

@@ -1,5 +1,8 @@
{ config, lib, pkgs, ... }:
let
impermanence = builtins.fetchTarball "https://github.com/nix-community/impermanence/archive/master.tar.gz";
thunderbirdSettings = {
"extensions.activeThemeID" = "thunderbird-compact-dark@mozilla.org";
"browser.theme.content-theme" = 0;
@@ -78,10 +81,23 @@ let
in
{
home-manager.users.dominik = { lib, pkgs, ... }: {
imports = [ "${impermanence}/home-manager.nix" ];
/* The home.stateVersion option does not have a default and must be set */
home.stateVersion = "24.05";
home.enableNixpkgsReleaseCheck = false;
/* Here goes the rest of your home-manager config, e.g. home.packages = [ pkgs.foo ]; */
home.persistence."/nix/persist/user/dominik" = {
removePrefixDirectory = true; # for GNU Stow styled dotfile folders
allowOther = true;
directories = [
"cloud.cloonar.com"
"cloud.epicenter.works"
".config/Nextcloud"
".mozilla"
".thunderbird"
];
};
programs.git = {
enable = true;
@@ -305,6 +321,8 @@ EOL
fi
'';
home.file.".config/Cryptomator/settings.json".source = ./configs/cryptomator.json;
/* Setup nextcloud folders */
home.activation.nextcloud = lib.hm.dag.entryAfter ["writeBoundary"] ''
set +eu