Maybe this can be of use for you, it's not declarative but it is in Nix, it shouldn't be too hard for someone to make it declarative: https://github.com/matejc/win11
matejc
Personally I haven't used it, but NixOS options are here: https://search.nixos.org/options?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=security.apparmor
Indeed, well:
- SearxNG is a meta search engine, can aggregate search results from a ton of other search engines (like DDG, Google, Bing, .... and a lot more)
- Whoogle, looks like a proxy to Google
Hey, I do not think that this is off topic at all. My instance is matejc.com
As a Linux user I can tell you that nothing works. Every single Linux distro requires some amount of work. That's why I do not use Windows or MacOS since it is so closed ecosystem that you can't even fix anything when something fails.
Yes the immediate cost is lower, but when drive fails? You need to consider some RAID setup then so that means at least 2 of them. Well depends how much your data is worth...
Also consider that computers need external battery power for short power shortage and lightning protection. At least battery requires replacement every few years.
People usually forget that home machines for server require:
- stable internet connection
- stable electricity supply
- hardware maintenance
- upgrade of hardware
I had all that when I was a student, it's wonderful to learning opportunity. Now I grew up, I use VPS in cloud and pay for all that with ~16eur/month and could be even cheaper. But considering my work hour, I can pay for that amount with half an hour of work with my job.
You need a Nix package first, so how I do this for NodeJS is, clone your NodeJS repo to your computer, then you will need node2nix to package it (https://github.com/svanderburg/node2nix). You can use this command inside the repo: node2nix -18
(you need to specify -18 since by default node 14 is being used). After nix files are generated, you can test it by running nix-build -A package
. Now that you have this done, its time to make a PR to nixpkgs and add all the new generated files along with package.json and that is your cockpit-machines package.
After all this its time to integrate into existing cockpit NixOS module. I would maybe add a new option called extraPackages, like so: services.cockpit.extraPackages = [ pkgs.cockpit-machines ];. On the other hand you could just add option to the cockpit package option, like so: services.cockpit.package = pkgs.cockpit.override { enableCockpitMachines = true; };. This might be easier.
ps: I havent tested this so ask if you have any difficulties
Your title says lemmy instance and in your description you are asking for kbin instance. Which one you truly mean?
Lemmy is already packaged in nixpkgs and its options for NixOS are: https://search.nixos.org/options?channel=unstable&show=services.lemmy.enable&from=0&size=50&sort=relevance&type=packages&query=lemmy
But I do not see kbin packaged yet.
What search engine I use? All of them. I use Searxng.
Btw, I do not use postfix
I haven't used it, but here is my first web search result: https://github.com/droberson/ssh-honeypot Also: https://github.com/paralax/awesome-honeypots