Add selfhosted services

This commit is contained in:
aloslider
2026-06-30 04:26:40 +03:00
parent f212c874b5
commit 13e407847f
78 changed files with 2346 additions and 690 deletions
-1
View File
@@ -1 +0,0 @@
System config that is required for any host.
-1
View File
@@ -3,7 +3,6 @@
imports = [
./disko.nix
./locale.nix
./netbird.nix
./nix.nix
./packages.nix
./sops.nix
-4
View File
@@ -1,4 +0,0 @@
{ config, ... }:
{
services.netbird.enable = true;
}
+13 -10
View File
@@ -1,14 +1,17 @@
{ config, ... }:
{
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
nix.gc = {
automatic = true;
dates = "daily";
options = "--delete-older-than +5";
nix = {
gc = {
automatic = true;
dates = "daily";
options = "--delete-older-than 7d";
};
settings = {
experimental-features = [
"nix-command"
"flakes"
];
auto-optimise-store = true;
};
};
nix.settings.auto-optimise-store = true;
}
+4
View File
@@ -2,12 +2,16 @@
{
environment.systemPackages = with pkgs; [
age
bat
bind
btop
git
jq
openssl
ripgrep
tmux
tree
vim
wget
];
}
-5
View File
@@ -8,10 +8,5 @@
defaultSopsFile = "/etc/sops/secrets.yaml";
age.keyFile = "/etc/age/key.txt";
validateSopsFiles = false;
secrets = {
benq-password = {
neededForUsers = true;
};
};
};
}