add fuse nextcloud and age encrypted passwords
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 2m8s
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 2m8s
This commit is contained in:
@ -6,11 +6,11 @@
|
||||
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2024/10/17 18:15:38 by tomoron #+# #+# #
|
||||
# Updated: 2025/08/30 20:34:23 by tomoron ### ########.fr #
|
||||
# Updated: 2025/09/05 19:55:21 by tomoron ### ########.fr #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
|
||||
{lib, pkgs, username ? "tom" ,homeDir ? "/home/tom", isOs ? false, ... }:
|
||||
{lib, pkgs, config, username ? "tom" ,homeDir ? "/home/tom", isOs ? false, ... }:
|
||||
|
||||
{
|
||||
imports = lib.concatLists [
|
||||
@ -23,6 +23,28 @@
|
||||
|
||||
home.stateVersion = "24.05";
|
||||
|
||||
sops.defaultSopsFile = ../secrets/secrets.yaml;
|
||||
sops.age.keyFile = "${homeDir}/.config/sops/age/keys.txt";
|
||||
sops.secrets."nextcloud_fuse/password" = {};
|
||||
|
||||
programs.rclone.enable = true;
|
||||
programs.rclone.remotes.nextcloud = {
|
||||
config = {
|
||||
type = "webdav";
|
||||
url = "https://nc.tmoron.fr/remote.php/dav/files/tom";
|
||||
vendor = "nextcloud";
|
||||
user = "tom";
|
||||
};
|
||||
secrets.pass = config.sops.secrets."nextcloud_fuse/password".path;
|
||||
mounts = {
|
||||
"/" = {
|
||||
enable = true;
|
||||
mountPoint = "${homeDir}/nextcloud";
|
||||
options.vfs-cache-mode = "writes";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# programs.ghostty.enable = true;
|
||||
# programs.ghostty.settings = {
|
||||
# theme = "catppuccin-mocha";
|
||||
|
@ -6,7 +6,7 @@
|
||||
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2025/02/09 22:01:56 by tomoron #+# #+# #
|
||||
# Updated: 2025/09/02 23:33:04 by tomoron ### ########.fr #
|
||||
# Updated: 2025/09/05 19:28:45 by tomoron ### ########.fr #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
|
||||
@ -44,5 +44,6 @@
|
||||
nerd-fonts.iosevka
|
||||
compiledb
|
||||
yubikey-personalization
|
||||
sops
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user