mirror of
https://github.com/kmein/niveum
synced 2026-03-20 12:01:06 +01:00
feat: bye seafile
This commit is contained in:
@@ -12,23 +12,15 @@ in {
|
|||||||
user = config.users.users.me.name;
|
user = config.users.users.me.name;
|
||||||
group = "users";
|
group = "users";
|
||||||
mode = "0755";
|
mode = "0755";
|
||||||
argument = "${config.users.users.me.home}/cloud/Seafile/Uni";
|
argument = "${config.users.users.me.home}/cloud/nextcloud/Uni";
|
||||||
path = "${config.users.users.me.home}/uni";
|
path = "${config.users.users.me.home}/uni";
|
||||||
}
|
}
|
||||||
{
|
|
||||||
type = "L+";
|
|
||||||
user = config.users.users.me.name;
|
|
||||||
group = "users";
|
|
||||||
mode = "0755";
|
|
||||||
argument = "${config.users.users.me.home}/cloud/syncthing/common/mahlzeit";
|
|
||||||
path = "${config.users.users.me.home}/mahlzeit";
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager.users.me = {
|
home-manager.users.me = {
|
||||||
services.gnome-keyring.enable = false;
|
services.gnome-keyring.enable = true;
|
||||||
services.nextcloud-client = {
|
services.nextcloud-client = {
|
||||||
enable = false;
|
enable = true;
|
||||||
startInBackground = true;
|
startInBackground = true;
|
||||||
};
|
};
|
||||||
systemd.user.services.nextcloud-client = {
|
systemd.user.services.nextcloud-client = {
|
||||||
@@ -66,7 +58,7 @@ in {
|
|||||||
set -efu
|
set -efu
|
||||||
book="$({
|
book="$({
|
||||||
${pkgs.findutils}/bin/find ${config.users.users.me.home}/cloud/syncthing/library -type f
|
${pkgs.findutils}/bin/find ${config.users.users.me.home}/cloud/syncthing/library -type f
|
||||||
${pkgs.findutils}/bin/find ${config.users.users.me.home}/cloud/Seafile/Books -type f
|
${pkgs.findutils}/bin/find ${config.users.users.me.home}/cloud/nextcloud/Books -type f
|
||||||
} | ${pkgs.fzf}/bin/fzf)"
|
} | ${pkgs.fzf}/bin/fzf)"
|
||||||
exec ${pkgs.zathura}/bin/zathura "$book"
|
exec ${pkgs.zathura}/bin/zathura "$book"
|
||||||
'')
|
'')
|
||||||
@@ -103,16 +95,6 @@ in {
|
|||||||
mode = "400";
|
mode = "400";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/media/moodle" = {
|
|
||||||
device = "zaatar.r:/moodle";
|
|
||||||
fsType = "nfs";
|
|
||||||
options = [
|
|
||||||
"x-systemd.idle-timeout=600"
|
|
||||||
"noauto"
|
|
||||||
"x-systemd.automount"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
services.syncthing = rec {
|
services.syncthing = rec {
|
||||||
enable = true;
|
enable = true;
|
||||||
user = "kfm";
|
user = "kfm";
|
||||||
|
|||||||
@@ -266,7 +266,7 @@ in {
|
|||||||
./retiolum.nix
|
./retiolum.nix
|
||||||
./rofi.nix
|
./rofi.nix
|
||||||
./spacetime.nix
|
./spacetime.nix
|
||||||
./seafile.nix
|
# ./seafile.nix
|
||||||
./ssh.nix
|
./ssh.nix
|
||||||
./sshd.nix
|
./sshd.nix
|
||||||
./sound.nix
|
./sound.nix
|
||||||
|
|||||||
Reference in New Issue
Block a user