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

@@ -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