mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
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:
parent
ec50b96b0a
commit
384c40f7ac
4 changed files with 21 additions and 3 deletions
|
|
@ -26,7 +26,11 @@
|
|||
|
||||
services.transmission = {
|
||||
enable = true;
|
||||
home = "/disk/BigEXT/transmission";
|
||||
settings = {
|
||||
download-dir = "/disks/BigEXT/Share/";
|
||||
incomplete-dir = "/disks/BigEXT/Share/.incomplete";
|
||||
incomplete-dir-enabled = true;
|
||||
rpc-bind-address = "0.0.0.0";
|
||||
rpc-whitelist = "127.0.0.1,192.168.1.*";
|
||||
};
|
||||
|
|
@ -49,7 +53,7 @@
|
|||
'';
|
||||
shares = {
|
||||
public = {
|
||||
path = "/var/lib/transmission/Downloads";
|
||||
path = "/disks/BigEXT/Share";
|
||||
browseable = "yes";
|
||||
"read only" = "no";
|
||||
"guest ok" = "yes";
|
||||
|
|
|
|||
|
|
@ -27,6 +27,18 @@
|
|||
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 =
|
||||
[{ device = "/dev/disk/by-uuid/88595373-9566-401b-8c9b-03bbc8314f1b"; }];
|
||||
|
||||
|
|
|
|||
|
|
@ -21,12 +21,14 @@ in {
|
|||
pkgs.discord
|
||||
pkgs.tdesktop
|
||||
pkgs.dino
|
||||
pkgs.vegur
|
||||
pkgs.nitrogen
|
||||
pkgs.terminator
|
||||
pkgs.appimage-run
|
||||
pkgs.scrot
|
||||
pkgs.gimp
|
||||
pkgs.vscode
|
||||
pkgs.cryptsetup
|
||||
pkgs.neofetch
|
||||
pkgs.htop
|
||||
];
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@
|
|||
pkgs.jetbrains.phpstorm
|
||||
pkgs.nixfmt
|
||||
pkgs.carnix
|
||||
pkgs.rustc
|
||||
pkgs.cargo
|
||||
pkgs.rustup
|
||||
pkgs.gcc
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue