1
0
Fork 0

mediaserver: try mounting certain folders via SMB

This commit is contained in:
Daniel Kempkens 2023-09-12 14:43:48 +02:00
parent 423c31eb08
commit 295f75dd5f
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
8 changed files with 26 additions and 10 deletions

View file

@ -4,6 +4,10 @@
file = ./user/danielPassword.age; file = ./user/danielPassword.age;
}; };
smb-haven-credentials = {
file = ./smb/havenCredentials.age;
};
acme-credentials = { acme-credentials = {
file = ./acme/credentials.age; file = ./acme/credentials.age;
owner = "acme"; owner = "acme";

View file

@ -0,0 +1,10 @@
age-encryption.org/v1
-> ssh-ed25519 MtGp6g JyVPhKnCixU8R0aldhBP8eVHzyxcG6Vjv9MOv2xdAGs
PRc+76W57uYZSUguYrOjvjZrsFy56nbgEyoQ1ahihK0
-> ssh-ed25519 Y94Yig v/9Ai3U8dxd2XP92gTMDHCeMoVTFhd9mrg95hpBjcR4
8qu58IJSjpDeCoueo5REflCv3jYscmTFg0gJ9w2awJo
-> _@pH\C-grease 2 VY p{rJ^5
liHUI8M6Us9bJ5yF/hs57TZLArJIsKHZG+4azj4qiC47tCAH5RrbXzANrDk
--- WgjYpyvLq2DF1fG+1MwTV+tGijYBiIiO8XeB1wsumh0
néÞ/„PUÁ
,ü2SË(¿u‡<75>Û!ô“$РÓDþXºÉÍHù[„!'H{|+]5Æ¡º:æ4Ðz¨¯ÚÄ:÷,Ó1]E­®!-uNVæ³=Åú?@`W3u1ß\A

View file

@ -107,11 +107,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1694461360, "lastModified": 1694508116,
"narHash": "sha256-8pD4sER07KvFjaa+8Uh5zuUrWVmAtT2UocFMktq80SA=", "narHash": "sha256-T91VacKLq2m8+UD7FDGBkQapmV3aBftkP4LhZ0HAww8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "fc6f863fe175a0e7e4ca39f44740627815f0da39", "rev": "7304727801b07c59d343bc0915dc5f0226db146d",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -14,7 +14,7 @@
kernelModules = [ "tls" ]; kernelModules = [ "tls" ];
}; };
kernelPackages = pkgs.linuxPackages_latest; kernelPackages = pkgs.linuxPackages;
kernelModules = [ "kvm-intel" "tcp_bbr" ]; kernelModules = [ "kvm-intel" "tcp_bbr" ];
kernel.sysctl = { kernel.sysctl = {

View file

@ -19,12 +19,12 @@ in
}; };
plenary-nvim = buildVimPluginFrom2Nix { plenary-nvim = buildVimPluginFrom2Nix {
pname = "plenary.nvim"; pname = "plenary.nvim";
version = "2023-09-10"; version = "2023-09-12";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nvim-lua"; owner = "nvim-lua";
repo = "plenary.nvim"; repo = "plenary.nvim";
rev = "0232372b906f275f76ac42029eba25eaf95e76b9"; rev = "4cd4c29e39dd02efd906f98c03d2879237f50956";
sha256 = "0z7sag0jqskf7qcdnsczxa3y3rjlnx4k0an23p8zmv5dikbgqkx5"; sha256 = "0g3higbx5v20bkn3h6gjxjgjj9yjwnvggmbbzs7k77i39993hgs5";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };
@ -246,8 +246,8 @@ in
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "neovim"; owner = "neovim";
repo = "nvim-lspconfig"; repo = "nvim-lspconfig";
rev = "5efcd06dc9c45c1654d3f84655fd4ee2f5328f3b"; rev = "360a895125ac4f39df6aa8f763635eff07e69fff";
sha256 = "1l00vf1pyb1942ycb0wv4jy9qkpjbrn48hwsr89g1p3zzw063zgq"; sha256 = "0sy9w8bl46i9krikxkbnsryrnnccji2hrw29k3ccihnn8nrxwvsl";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };

View file

@ -64,6 +64,8 @@ in
# mediaserver # mediaserver
"agenix/hosts/mediaserver/user/danielPassword.age".publicKeys = mediaserver; "agenix/hosts/mediaserver/user/danielPassword.age".publicKeys = mediaserver;
"agenix/hosts/mediaserver/smb/havenCredentials.age".publicKeys = mediaserver;
"agenix/hosts/mediaserver/acme/credentials.age".publicKeys = mediaserver; "agenix/hosts/mediaserver/acme/credentials.age".publicKeys = mediaserver;
"agenix/hosts/mediaserver/tailscale/authkey.age".publicKeys = mediaserver; "agenix/hosts/mediaserver/tailscale/authkey.age".publicKeys = mediaserver;

View file

@ -16,7 +16,7 @@
}; };
boot.supportedFilesystems = [ "nfs" ]; boot.supportedFilesystems = [ "nfs" ];
environment.systemPackages = [ pkgs.nfs-utils ]; environment.systemPackages = with pkgs; [ cifs-utils nfs-utils ];
services.rpcbind.enable = true; services.rpcbind.enable = true;
systemd = { systemd = {