modules/autoupgrade: init

This commit is contained in:
xinyangli 2024-09-24 10:53:51 +08:00
parent fb30c14c91
commit f905f051a0
Signed by: xin
SSH key fingerprint: SHA256:UU5pRTl7NiLFJbWJZa+snLylZSXIz5rgHmwjzv8v4oE
5 changed files with 40 additions and 17 deletions

View file

@ -1,7 +1,5 @@
{
inputs,
config,
libs,
pkgs,
...
}:
@ -51,13 +49,6 @@
efiSupport = true;
configurationLimit = 5;
};
#
# fileSystems."/mnt/storage" = {
# device = "//u380335-sub1.your-storagebox.de/u380335-sub1";
# fsType = "cifs";
# options = [ "credentials=${config.sops.secrets.storage_box_mount.path}" ];
# };
#
environment.systemPackages = with pkgs; [
cifs-utils
git
@ -69,14 +60,11 @@
hostName = "massicot";
};
custom.kanidm-client = {
enable = true;
uri = "https://auth.xinyang.life/";
asSSHAuth = {
commonSettings = {
auth.enable = true;
nix = {
enable = true;
allowedGroups = [ "linux_users" ];
};
sudoers = [ "xin@auth.xinyang.life" ];
};
security.sudo = {

View file

@ -139,7 +139,8 @@
originUrl = [
"http://localhost/"
"http://127.0.0.1/"
"oc://android.owncloud.com"
# TODO: Should allow mobile redirect url not ending with /
# "oc://android.owncloud.com"
];
basicSecretFile = config.sops.secrets."kanidm/ocis_android_secret".path;
preferShortUsername = true;