workstation virtually...done!

This commit is contained in:
2024-05-11 22:57:41 -06:00
parent bdfbf790ec
commit 58878b21ed
10 changed files with 159 additions and 93 deletions

View File

@@ -46,6 +46,11 @@ in {
scripts = {
tasks.enable = true;
run.enable = true;
split-dir.enable = true;
pika-list.enable = true;
download.enable = true;
ffmpreg.enable = true;
ffmpeg4discord.enable = true;
};
};
@@ -93,6 +98,11 @@ in {
users = {
groups.nixremote.gid = 555;
users = {
jawz.packages = (with pkgs; [
gocryptfs # encrypted filesystem! shhh!!!
torrenttools # create torrent files from the terminal!
vcsi # video thumbnails for torrents, can I replace it with ^?
]);
nixremote = {
isNormalUser = true;
createHome = true;
@@ -103,34 +113,6 @@ in {
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGrC7sVvDT0is2oq/H1Do99LPaQKvyGMAsrF6/fuf1aP root@miniserver"
];
};
jawz = {
packages = (with pkgs; [
gocryptfs # encrypted filesystem! shhh!!!
torrenttools # create torrent files from the terminal!
vcsi # video thumbnails for torrents, can I replace it with ^?
(writeScriptBin "ffmpeg4discord"
(builtins.readFile ../../scripts/ffmpeg4discord.py))
(writeScriptBin "ffmpreg"
(builtins.readFile ../../scripts/ffmpreg.sh))
(writeScriptBin "split-dir"
(builtins.readFile ../../scripts/split-dir.sh))
(writeScriptBin "pika-list"
(builtins.readFile ../../scripts/pika-list.sh))
]) ++ (with pkgs.python3Packages;
[
(buildPythonApplication rec {
pname = "download";
version = "1.5";
src = ../../scripts/download/.;
doCheck = false;
buildInputs = [ setuptools ];
propagatedBuildInputs = [ pyyaml types-pyyaml ];
})
]);
};
};
};