fix: update NixOS channel references to version 25.05 and adjust netdata configuration
This commit is contained in:
@@ -1 +1 @@
|
|||||||
https://channels.nixos.org/nixos-24.11
|
https://channels.nixos.org/nixos-25.05
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
https://channels.nixos.org/nixos-24.11
|
https://channels.nixos.org/nixos-25.05
|
||||||
|
|||||||
@@ -88,6 +88,7 @@ in
|
|||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
doveSync
|
doveSync
|
||||||
|
dovecot_pigeonhole
|
||||||
];
|
];
|
||||||
|
|
||||||
services.dovecot2 = {
|
services.dovecot2 = {
|
||||||
@@ -215,9 +216,6 @@ in
|
|||||||
# Read multiple mails in parallel, improves performance
|
# Read multiple mails in parallel, improves performance
|
||||||
mail_prefetch_count = 20
|
mail_prefetch_count = 20
|
||||||
'';
|
'';
|
||||||
modules = [
|
|
||||||
pkgs.dovecot_pigeonhole
|
|
||||||
];
|
|
||||||
protocols = [
|
protocols = [
|
||||||
"sieve"
|
"sieve"
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -146,6 +146,7 @@ in {
|
|||||||
"/var/lib/bluetooth"
|
"/var/lib/bluetooth"
|
||||||
"/var/lib/docker"
|
"/var/lib/docker"
|
||||||
"/var/lib/flatpak"
|
"/var/lib/flatpak"
|
||||||
|
"/var/lib/fprint"
|
||||||
"/var/lib/nixos"
|
"/var/lib/nixos"
|
||||||
"/var/lib/mysql"
|
"/var/lib/mysql"
|
||||||
"/etc/NetworkManager/system-connections"
|
"/etc/NetworkManager/system-connections"
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
security.pam.services.login.fprintAuth = true;
|
security.pam.services.login.fprintAuth = true;
|
||||||
security.pam.services.sudo.fprintAuth = true;
|
security.pam.services.sudo.fprintAuth = true;
|
||||||
security.pam.services.sddm.fprintAuth = true;
|
|
||||||
# If you use swaylock and want fingerprint auth for it:
|
# If you use swaylock and want fingerprint auth for it:
|
||||||
security.pam.services.swaylock.fprintAuth = true;
|
security.pam.services.swaylock.fprintAuth = true;
|
||||||
# Add Polkit rule to allow locally active users to manage their own fingerprints
|
# Add Polkit rule to allow locally active users to manage their own fingerprints
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
https://channels.nixos.org/nixos-24.11
|
https://channels.nixos.org/nixos-25.05
|
||||||
|
|||||||
@@ -1,10 +1,14 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
let
|
let
|
||||||
unstable = import (fetchTarball https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz) {
|
unstable = import (fetchTarball https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz) {
|
||||||
config = { allowUnfree = true; };
|
config = { allowUnfree = true; };
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||||
|
"netdata"
|
||||||
|
];
|
||||||
|
|
||||||
services.netdata.configDir."python.d.conf" = pkgs.writeText "python.d.conf" ''
|
services.netdata.configDir."python.d.conf" = pkgs.writeText "python.d.conf" ''
|
||||||
postfix: yes
|
postfix: yes
|
||||||
'';
|
'';
|
||||||
@@ -14,7 +18,7 @@ in
|
|||||||
python.enable = true;
|
python.enable = true;
|
||||||
|
|
||||||
package = pkgs.netdata.override {
|
package = pkgs.netdata.override {
|
||||||
withCloud = true;
|
withCloudUi = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
|||||||
Reference in New Issue
Block a user