Changed Rust to use rustup instead of using Nix provided cargo+rustc for VSCode compatibility.

Samhain has been adjusted for automounts and to provide transmission+SMB for /disks/BigEXT instead of for /var/lib/transmission/Downloads which was residing on the SSD.
This commit is contained in:
kat witch 2020-11-22 09:56:50 +00:00 committed by kat
parent ec50b96b0a
commit 384c40f7ac
4 changed files with 21 additions and 3 deletions

View file

@ -26,7 +26,11 @@
services.transmission = { services.transmission = {
enable = true; enable = true;
home = "/disk/BigEXT/transmission";
settings = { settings = {
download-dir = "/disks/BigEXT/Share/";
incomplete-dir = "/disks/BigEXT/Share/.incomplete";
incomplete-dir-enabled = true;
rpc-bind-address = "0.0.0.0"; rpc-bind-address = "0.0.0.0";
rpc-whitelist = "127.0.0.1,192.168.1.*"; rpc-whitelist = "127.0.0.1,192.168.1.*";
}; };
@ -49,7 +53,7 @@
''; '';
shares = { shares = {
public = { public = {
path = "/var/lib/transmission/Downloads"; path = "/disks/BigEXT/Share";
browseable = "yes"; browseable = "yes";
"read only" = "no"; "read only" = "no";
"guest ok" = "yes"; "guest ok" = "yes";

View file

@ -27,6 +27,18 @@
fsType = "vfat"; fsType = "vfat";
}; };
fileSystems."/disks/BigExfat" =
{ device = "/dev/disk/by-uuid/5F0E-F368";
fsType = "exfat";
};
fileSystems."/disks/BigEXT" =
{ device = "/dev/disk/by-uuid/f9797766-59d6-4fca-9a2a-7bade7f57291";
fsType = "ext4";
};
boot.initrd.luks.devices."mewmapper".device = "/dev/disk/by-uuid/2802caf9-2dd6-4365-a022-f1359911a1db";
swapDevices = swapDevices =
[{ device = "/dev/disk/by-uuid/88595373-9566-401b-8c9b-03bbc8314f1b"; }]; [{ device = "/dev/disk/by-uuid/88595373-9566-401b-8c9b-03bbc8314f1b"; }];

View file

@ -21,12 +21,14 @@ in {
pkgs.discord pkgs.discord
pkgs.tdesktop pkgs.tdesktop
pkgs.dino pkgs.dino
pkgs.vegur
pkgs.nitrogen pkgs.nitrogen
pkgs.terminator pkgs.terminator
pkgs.appimage-run pkgs.appimage-run
pkgs.scrot pkgs.scrot
pkgs.gimp pkgs.gimp
pkgs.vscode pkgs.vscode
pkgs.cryptsetup
pkgs.neofetch pkgs.neofetch
pkgs.htop pkgs.htop
]; ];

View file

@ -9,8 +9,8 @@
pkgs.jetbrains.phpstorm pkgs.jetbrains.phpstorm
pkgs.nixfmt pkgs.nixfmt
pkgs.carnix pkgs.carnix
pkgs.rustc pkgs.rustup
pkgs.cargo pkgs.gcc
]; ];
}; };
} }