aboutsummaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/adam/configuration.nix20
-rw-r--r--hosts/sachiel/configuration.nix28
2 files changed, 40 insertions, 8 deletions
diff --git a/hosts/adam/configuration.nix b/hosts/adam/configuration.nix
index 1aeb0a1..99e2726 100644
--- a/hosts/adam/configuration.nix
+++ b/hosts/adam/configuration.nix
@@ -51,6 +51,20 @@
enable32Bit = true;
};
+ hardware.bluetooth = {
+ enable = true;
+ powerOnBoot = true;
+ settings = {
+ General = {
+ Experimental = true;
+ FastConnectable = true;
+ };
+ Policy = {
+ AutoEnable = true;
+ };
+ };
+ };
+
programs.dconf.enable = true;
home-manager.users.${username} = {
@@ -69,19 +83,19 @@
zoxide
noto-fonts-cjk-sans
- noto-fonts-color-emoji
+ noto-fonts-color-emoji
];
programs.zsh.shellAliases = {
open = "xdg-open";
};
-
+
home.stateVersion = "25.11";
};
nx = {
desktop = {
- cinnamon.enable = true;
+ kde.enable = true;
};
programs = {
kitty.enable = true;
diff --git a/hosts/sachiel/configuration.nix b/hosts/sachiel/configuration.nix
index 5cd0298..7bb5aca 100644
--- a/hosts/sachiel/configuration.nix
+++ b/hosts/sachiel/configuration.nix
@@ -52,12 +52,12 @@
system.autoUpgrade = {
enable = true;
flake = "github:schererleander/nix#${host}";
- flags = [
- "--update-input"
- "nixpkgs"
- "--no-write-lock-file"
+ flags = [
+ "--update-input"
+ "nixpkgs"
+ "--no-write-lock-file"
"-L" # print build logs
- ];
+ ];
allowReboot = true;
rebootWindow = {
@@ -158,6 +158,16 @@
sslCertificate = "/etc/ssl/schererleander.de/fullchain.pem";
sslCertificateKey = "/etc/ssl/schererleander.de/privkey.key";
};
+
+ virtualHosts."analytics.schererleander.de" = {
+ forceSSL = true;
+ sslCertificate = "/etc/ssl/schererleander.de/fullchain.pem";
+ sslCertificateKey = "/etc/ssl/schererleander.de/privkey.key";
+ locations."/" = {
+ proxyPass = "http://127.0.0.1:${toString config.services.plausible.server.port}";
+ proxyWebsockets = true;
+ };
+ };
};
services.site = {
@@ -259,6 +269,14 @@
'';
};
+ services.plausible = {
+ enable = true;
+ server = {
+ baseUrl = "https://analytics.scherereleander.de";
+ secretKeybaseFile = "/etc/plausible-secret-keybase";
+ };
+ };
+
security.auditd.enable = true;
security.audit = {
enable = true;