some changes
This commit is contained in:
@@ -4,7 +4,9 @@
|
|||||||
|
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
|
unstable = import (fetchTarball https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz) {
|
||||||
|
config = { allowUnfree = true; };
|
||||||
|
};
|
||||||
impermanence = builtins.fetchTarball "https://github.com/nix-community/impermanence/archive/master.tar.gz";
|
impermanence = builtins.fetchTarball "https://github.com/nix-community/impermanence/archive/master.tar.gz";
|
||||||
in {
|
in {
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|||||||
@@ -18,7 +18,9 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
sway-conf = builtins.readFile ./sway.conf + cfg.additionalConfig;
|
sway-conf = builtins.readFile ./sway.conf + cfg.additionalConfig;
|
||||||
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
|
unstable = import (fetchTarball https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz) {
|
||||||
|
config = { allowUnfree = true; };
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
./social.nix
|
./social.nix
|
||||||
|
|||||||
35
hosts/nb-new.cloonar.com/users/configs/cryptomator.json
Normal file
35
hosts/nb-new.cloonar.com/users/configs/cryptomator.json
Normal 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"
|
||||||
|
}
|
||||||
@@ -1,5 +1,8 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
let
|
let
|
||||||
|
|
||||||
|
impermanence = builtins.fetchTarball "https://github.com/nix-community/impermanence/archive/master.tar.gz";
|
||||||
|
|
||||||
thunderbirdSettings = {
|
thunderbirdSettings = {
|
||||||
"extensions.activeThemeID" = "thunderbird-compact-dark@mozilla.org";
|
"extensions.activeThemeID" = "thunderbird-compact-dark@mozilla.org";
|
||||||
"browser.theme.content-theme" = 0;
|
"browser.theme.content-theme" = 0;
|
||||||
@@ -78,10 +81,23 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
home-manager.users.dominik = { lib, pkgs, ... }: {
|
home-manager.users.dominik = { lib, pkgs, ... }: {
|
||||||
|
imports = [ "${impermanence}/home-manager.nix" ];
|
||||||
/* The home.stateVersion option does not have a default and must be set */
|
/* The home.stateVersion option does not have a default and must be set */
|
||||||
home.stateVersion = "24.05";
|
home.stateVersion = "24.05";
|
||||||
home.enableNixpkgsReleaseCheck = false;
|
home.enableNixpkgsReleaseCheck = false;
|
||||||
/* Here goes the rest of your home-manager config, e.g. home.packages = [ pkgs.foo ]; */
|
/* 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 = {
|
programs.git = {
|
||||||
|
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -305,6 +321,8 @@ EOL
|
|||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
home.file.".config/Cryptomator/settings.json".source = ./configs/cryptomator.json;
|
||||||
|
|
||||||
/* Setup nextcloud folders */
|
/* Setup nextcloud folders */
|
||||||
home.activation.nextcloud = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
home.activation.nextcloud = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
||||||
set +eu
|
set +eu
|
||||||
|
|||||||
Reference in New Issue
Block a user