fix: update NixOS channel references to version 25.05 and adjust netdata configuration

This commit is contained in:
2025-05-30 18:32:47 +02:00
parent d161d5f421
commit fa42667c2a
7 changed files with 11 additions and 9 deletions

View File

@@ -1 +1 @@
https://channels.nixos.org/nixos-24.11
https://channels.nixos.org/nixos-25.05

View File

@@ -1 +1 @@
https://channels.nixos.org/nixos-24.11
https://channels.nixos.org/nixos-25.05

View File

@@ -88,6 +88,7 @@ in
{
environment.systemPackages = with pkgs; [
doveSync
dovecot_pigeonhole
];
services.dovecot2 = {
@@ -215,9 +216,6 @@ in
# Read multiple mails in parallel, improves performance
mail_prefetch_count = 20
'';
modules = [
pkgs.dovecot_pigeonhole
];
protocols = [
"sieve"
];

View File

@@ -146,6 +146,7 @@ in {
"/var/lib/bluetooth"
"/var/lib/docker"
"/var/lib/flatpak"
"/var/lib/fprint"
"/var/lib/nixos"
"/var/lib/mysql"
"/etc/NetworkManager/system-connections"

View File

@@ -5,7 +5,6 @@
security.pam.services.login.fprintAuth = true;
security.pam.services.sudo.fprintAuth = true;
security.pam.services.sddm.fprintAuth = true;
# If you use swaylock and want fingerprint auth for it:
security.pam.services.swaylock.fprintAuth = true;
# Add Polkit rule to allow locally active users to manage their own fingerprints

View File

@@ -1 +1 @@
https://channels.nixos.org/nixos-24.11
https://channels.nixos.org/nixos-25.05

View File

@@ -1,10 +1,14 @@
{ config, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
unstable = import (fetchTarball https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz) {
config = { allowUnfree = true; };
};
in
{
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"netdata"
];
services.netdata.configDir."python.d.conf" = pkgs.writeText "python.d.conf" ''
postfix: yes
'';
@@ -14,7 +18,7 @@ in
python.enable = true;
package = pkgs.netdata.override {
withCloud = true;
withCloudUi = true;
};
config = {