Add selfhosted services
This commit is contained in:
@@ -1 +0,0 @@
|
||||
System config that is required for any host.
|
||||
@@ -3,7 +3,6 @@
|
||||
imports = [
|
||||
./disko.nix
|
||||
./locale.nix
|
||||
./netbird.nix
|
||||
./nix.nix
|
||||
./packages.nix
|
||||
./sops.nix
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
services.netbird.enable = true;
|
||||
}
|
||||
+13
-10
@@ -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;
|
||||
}
|
||||
|
||||
@@ -2,12 +2,16 @@
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
age
|
||||
bat
|
||||
bind
|
||||
btop
|
||||
git
|
||||
jq
|
||||
openssl
|
||||
ripgrep
|
||||
tmux
|
||||
tree
|
||||
vim
|
||||
wget
|
||||
];
|
||||
}
|
||||
|
||||
@@ -8,10 +8,5 @@
|
||||
defaultSopsFile = "/etc/sops/secrets.yaml";
|
||||
age.keyFile = "/etc/age/key.txt";
|
||||
validateSopsFiles = false;
|
||||
secrets = {
|
||||
benq-password = {
|
||||
neededForUsers = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user