1
0
mirror of https://github.com/kmein/niveum synced 2026-03-30 09:11:10 +02:00

2 Commits

Author SHA1 Message Date
2092e46d39 feat: @flxai testimonial 2024-04-08 08:20:17 +02:00
aff3f9ac92 feat: mount network devices under ~/remote 2024-04-08 08:17:52 +02:00
7 changed files with 42 additions and 26 deletions

View File

@@ -7,4 +7,6 @@
> 2. Transf., _snow-white, snowy_ (mostly poet.): a similitudine sic: Corpore niveum candorem, aspectu igneum ardorem assequebatur, Auct. Her. 4, 33, 44: lacerti, Verg. A. 8, 387: lac, id. E. 2, 20: hanc si capite niveae agnae exorari judicas, Sen. Q. N. 2, 36: Briseis niveo colore, Hor. C. 2, 4, 3: vestis, Ov. M. 10, 432: candidior nivei folio, Galatea, ligustri, id. ib. 13, 789: dens, id. H. 18, 18: quā notam duxit niveus videri, Hor. C. 4, 2, 59: panis, Juv. 5, 70: flumen, _clear, pellucid_, Sen. Hippol. 504: undae, Mart. 7, 32, 11: tribuni, _clothed in white togas_, Calp. Ecl. 7, 29; so, Quirites, Juv. 10, 45. > 2. Transf., _snow-white, snowy_ (mostly poet.): a similitudine sic: Corpore niveum candorem, aspectu igneum ardorem assequebatur, Auct. Her. 4, 33, 44: lacerti, Verg. A. 8, 387: lac, id. E. 2, 20: hanc si capite niveae agnae exorari judicas, Sen. Q. N. 2, 36: Briseis niveo colore, Hor. C. 2, 4, 3: vestis, Ov. M. 10, 432: candidior nivei folio, Galatea, ligustri, id. ib. 13, 789: dens, id. H. 18, 18: quā notam duxit niveus videri, Hor. C. 4, 2, 59: panis, Juv. 5, 70: flumen, _clear, pellucid_, Sen. Hippol. 504: undae, Mart. 7, 32, 11: tribuni, _clothed in white togas_, Calp. Ecl. 7, 29; so, Quirites, Juv. 10, 45.
## Pressestimmen ## Pressestimmen
> das ist ja pure poesie —[xkey](https://github.com/riotbib) > das ist ja pure poesie —[xkey](https://github.com/riotbib/)
> Deine Configs sind wunderschön <3 —[feliks](https://github.com/flxai/)

View File

@@ -7,7 +7,7 @@
... ...
}: let }: let
inherit (lib.strings) makeBinPath; inherit (lib.strings) makeBinPath;
inherit (import ../lib) localAddresses kieran; inherit (import ../lib) localAddresses kieran remoteDir;
defaultApplications = (import ../lib).defaultApplications {inherit pkgs;}; defaultApplications = (import ../lib).defaultApplications {inherit pkgs;};
in { in {
imports = [ imports = [
@@ -264,7 +264,23 @@ in {
./zsh.nix ./zsh.nix
./tor.nix ./tor.nix
./stw-berlin.nix ./stw-berlin.nix
./fritzbox.nix
./mastodon-bot.nix ./mastodon-bot.nix
{
fileSystems."${remoteDir}/fritz" = {
device = "//192.168.178.1/FRITZ.NAS/Backup";
fsType = "cifs";
options = [
"username=ftpuser"
"password=ftppassword"
"noauto"
"nounix"
"rw"
"noserverino" # ref https://askubuntu.com/a/1265165
"x-systemd.automount"
"x-systemd.device-timeout=1"
"x-systemd.idle-timeout=1min"
];
};
}
]; ];
} }

View File

@@ -1,19 +0,0 @@
{
fileSystems."/media/fritz" = {
device = "//192.168.178.1/FRITZ.NAS/Backup";
fsType = "cifs";
options = [
"username=ftpuser"
"password=ftppassword"
"guest"
"noauto"
"workgroup=WORKGROUP"
"rw"
"noserverino" # ref https://askubuntu.com/a/1265165
"nounix"
"x-systemd.automount"
"x-systemd.device-timeout=1"
"x-systemd.idle-timeout=1min"
];
};
}

View File

@@ -6,6 +6,7 @@
}: let }: let
username = "meinhak99"; username = "meinhak99";
inherit (import ../lib/email.nix) defaults pronouns; inherit (import ../lib/email.nix) defaults pronouns;
inherit (import ../lib) remoteDir;
fu-defaults = rec { fu-defaults = rec {
imap.host = "mail.zedat.fu-berlin.de"; imap.host = "mail.zedat.fu-berlin.de";
imap.port = 993; imap.port = 993;
@@ -84,7 +85,7 @@ in {
"x-systemd.idle-timeout=1min" "x-systemd.idle-timeout=1min"
]; ];
in { in {
"/media/fu-berlin/zodiac" = { "${remoteDir}/fu-berlin/zodiac" = {
device = "//trove.storage.fu-berlin.de/GESCHKULT"; device = "//trove.storage.fu-berlin.de/GESCHKULT";
fsType = "cifs"; fsType = "cifs";
options = options =

View File

@@ -5,6 +5,7 @@
... ...
}: let }: let
inherit (import ../lib/email.nix) defaults pronouns; inherit (import ../lib/email.nix) defaults pronouns;
inherit (import ../lib) remoteDir;
hu-defaults = { hu-defaults = {
imap.host = "mailbox.cms.hu-berlin.de"; imap.host = "mailbox.cms.hu-berlin.de";
imap.port = 993; imap.port = 993;
@@ -24,13 +25,13 @@
"x-systemd.idle-timeout=1min" "x-systemd.idle-timeout=1min"
]; ];
in { in {
fileSystems."/media/hu-berlin/germpro2" = { fileSystems."${remoteDir}/hu-berlin/germpro2" = {
device = "//hugerm31c.user.hu-berlin.de/germpro2/ling"; device = "//hugerm31c.user.hu-berlin.de/germpro2/ling";
fsType = "cifs"; fsType = "cifs";
options = hu-berlin-cifs-options; options = hu-berlin-cifs-options;
}; };
fileSystems."/media/hu-berlin/germhome" = { fileSystems."${remoteDir}/hu-berlin/germhome" = {
device = "//hugerm31c.user.hu-berlin.de/germhome/ling/meinhaki"; device = "//hugerm31c.user.hu-berlin.de/germhome/ling/meinhaki";
fsType = "cifs"; fsType = "cifs";
options = hu-berlin-cifs-options; options = hu-berlin-cifs-options;

View File

@@ -15,6 +15,8 @@
repository = "rest:http://${host}:${toString port}/"; repository = "rest:http://${host}:${toString port}/";
}; };
remoteDir = "/home/kfm/remote";
firewall = lib: { firewall = lib: {
accept = { accept = {
source, source,

View File

@@ -8,7 +8,7 @@
inherit (import ../../lib) tmpfilesConfig; inherit (import ../../lib) tmpfilesConfig;
mukkeMountPoint = "/mnt/mukke"; mukkeMountPoint = "/mnt/mukke";
fritzboxMountPoint = "/media/fritz"; fritzboxMountPoint = "/mnt/fritz";
streams = import ../../lib/streams.nix { streams = import ../../lib/streams.nix {
di-fm-key = "%DI_FM_KEY%"; # TODO lib.strings.fileContents <secrets/di.fm/key>; di-fm-key = "%DI_FM_KEY%"; # TODO lib.strings.fileContents <secrets/di.fm/key>;
@@ -43,6 +43,19 @@ in {
]; ];
}; };
fileSystems."${fritzboxMountPoint}" = {
device = "//192.168.178.1/FRITZ.NAS/Backup";
fsType = "cifs";
options = [
"username=ftpuser"
"password=ftppassword"
"noauto"
"nounix"
"ro"
"noserverino" # ref https://askubuntu.com/a/1265165
];
};
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
(tmpfilesConfig { (tmpfilesConfig {
type = "L+"; type = "L+";