mediaserver: try mounting certain folders via SMB
This commit is contained in:
parent
423c31eb08
commit
295f75dd5f
8 changed files with 26 additions and 10 deletions
|
@ -4,6 +4,10 @@
|
|||
file = ./user/danielPassword.age;
|
||||
};
|
||||
|
||||
smb-haven-credentials = {
|
||||
file = ./smb/havenCredentials.age;
|
||||
};
|
||||
|
||||
acme-credentials = {
|
||||
file = ./acme/credentials.age;
|
||||
owner = "acme";
|
||||
|
|
10
agenix/hosts/mediaserver/smb/havenCredentials.age
Normal file
10
agenix/hosts/mediaserver/smb/havenCredentials.age
Normal 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
|
|
@ -107,11 +107,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1694461360,
|
||||
"narHash": "sha256-8pD4sER07KvFjaa+8Uh5zuUrWVmAtT2UocFMktq80SA=",
|
||||
"lastModified": 1694508116,
|
||||
"narHash": "sha256-T91VacKLq2m8+UD7FDGBkQapmV3aBftkP4LhZ0HAww8=",
|
||||
"owner": "nix-community",
|
||||
"repo": "disko",
|
||||
"rev": "fc6f863fe175a0e7e4ca39f44740627815f0da39",
|
||||
"rev": "7304727801b07c59d343bc0915dc5f0226db146d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
kernelModules = [ "tls" ];
|
||||
};
|
||||
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
kernelPackages = pkgs.linuxPackages;
|
||||
kernelModules = [ "kvm-intel" "tcp_bbr" ];
|
||||
|
||||
kernel.sysctl = {
|
||||
|
|
|
@ -19,12 +19,12 @@ in
|
|||
};
|
||||
plenary-nvim = buildVimPluginFrom2Nix {
|
||||
pname = "plenary.nvim";
|
||||
version = "2023-09-10";
|
||||
version = "2023-09-12";
|
||||
src = fetchFromGitHub {
|
||||
owner = "nvim-lua";
|
||||
repo = "plenary.nvim";
|
||||
rev = "0232372b906f275f76ac42029eba25eaf95e76b9";
|
||||
sha256 = "0z7sag0jqskf7qcdnsczxa3y3rjlnx4k0an23p8zmv5dikbgqkx5";
|
||||
rev = "4cd4c29e39dd02efd906f98c03d2879237f50956";
|
||||
sha256 = "0g3higbx5v20bkn3h6gjxjgjj9yjwnvggmbbzs7k77i39993hgs5";
|
||||
fetchSubmodules = false;
|
||||
};
|
||||
};
|
||||
|
@ -246,8 +246,8 @@ in
|
|||
src = fetchFromGitHub {
|
||||
owner = "neovim";
|
||||
repo = "nvim-lspconfig";
|
||||
rev = "5efcd06dc9c45c1654d3f84655fd4ee2f5328f3b";
|
||||
sha256 = "1l00vf1pyb1942ycb0wv4jy9qkpjbrn48hwsr89g1p3zzw063zgq";
|
||||
rev = "360a895125ac4f39df6aa8f763635eff07e69fff";
|
||||
sha256 = "0sy9w8bl46i9krikxkbnsryrnnccji2hrw29k3ccihnn8nrxwvsl";
|
||||
fetchSubmodules = false;
|
||||
};
|
||||
};
|
||||
|
|
Binary file not shown.
|
@ -64,6 +64,8 @@ in
|
|||
# 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/tailscale/authkey.age".publicKeys = mediaserver;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
};
|
||||
|
||||
boot.supportedFilesystems = [ "nfs" ];
|
||||
environment.systemPackages = [ pkgs.nfs-utils ];
|
||||
environment.systemPackages = with pkgs; [ cifs-utils nfs-utils ];
|
||||
services.rpcbind.enable = true;
|
||||
|
||||
systemd = {
|
||||
|
|
Loading…
Reference in a new issue