Compare commits

..

2 commits

Author SHA1 Message Date
a377ad8176 Server/samba: overhaul config 2025-04-12 01:00:05 +02:00
dafbcb9f8d Server: remove school things 2025-04-03 20:05:47 +02:00
4 changed files with 6 additions and 79 deletions

67
flake.lock generated
View file

@ -437,18 +437,6 @@
"type": "indirect"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 0,
"narHash": "sha256-Tbk1MZbtV2s5aG+iM99U8FqwxU/YNArMcWAv6clcsBc=",
"path": "/nix/store/l9nb64iii15y0nr37qrs1cfm6rlpg6gh-source",
"type": "path"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
}
},
"plasma-manager": {
"inputs": {
"home-manager": [
@ -492,8 +480,7 @@
"nixpkgs-raw": "nixpkgs-raw",
"nixpkgs-unstable-raw": "nixpkgs-unstable-raw",
"plasma-manager": "plasma-manager",
"secrets": "secrets",
"shows-api": "shows-api"
"secrets": "secrets"
}
},
"secrets": {
@ -512,25 +499,6 @@
"url": "ssh://forgejo@git.everest.tailscale:4222/Toast/nix-secrets"
}
},
"shows-api": {
"inputs": {
"nixpkgs": "nixpkgs_2",
"utils": "utils"
},
"locked": {
"lastModified": 1740160663,
"narHash": "sha256-cRD5boGthyiecpL/jzSVaeoLG27Ve2gEVhZFhC5rjHQ=",
"ref": "refs/heads/main",
"rev": "b4fdee776aa7aa2ae6648070cad449a6c88c65c5",
"revCount": 50,
"type": "git",
"url": "ssh://forgejo@git.everest.tailscale:4222/Toast/shows-api.git"
},
"original": {
"type": "git",
"url": "ssh://forgejo@git.everest.tailscale:4222/Toast/shows-api.git"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
@ -575,39 +543,6 @@
"repo": "default",
"type": "github"
}
},
"systems_4": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"utils": {
"inputs": {
"systems": "systems_4"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
}
},
"root": "root",

View file

@ -86,8 +86,6 @@
url = "github:catppuccin/konsole";
flake = false;
};
shows-api.url = "git+ssh://forgejo@git.everest.tailscale:4222/Toast/shows-api.git";
};
outputs = {...} @ inputs:

View file

@ -19,6 +19,5 @@
./prometheus.nix
./changedetection-io.nix
./immich.nix
./school.nix
];
}

View file

@ -4,22 +4,17 @@
enable = true;
openFirewall = true;
settings = {
"global" = {
"map to guest" = "bad user";
"guest account" = "transmission";
};
"Transmission downloads" = {
path = "${config.services.transmission.settings.download-dir}";
"read only" = true;
public = true;
"guest only" = true;
browseable = true;
"path" = "${config.services.transmission.settings.download-dir}";
"public" = true;
"writable" = false;
"force user" = "transmission";
};
};
};
avahi.extraServiceFiles = {
Transmission-downloads-smb = ''
everest-smb = ''
<?xml version="1.0" standalone='no'?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>