minor cleanup

This commit is contained in:
chayleaf 2024-07-15 02:31:35 +07:00
parent 39bb1f8750
commit 2b5fa35b29
Signed by: chayleaf
GPG key ID: 78171AD46227E68E
4 changed files with 9 additions and 13 deletions

View file

@ -356,16 +356,15 @@
"mobile-nixos": {
"flake": false,
"locked": {
"lastModified": 1702959560,
"narHash": "sha256-3EmjKFKBypRGluGEY1oUMkQRBRDO5rZdzUXwTlRbUiY=",
"owner": "chayleaf",
"lastModified": 1720660935,
"narHash": "sha256-GnDGoVaObUjnYdCHUSIYVE1anMElis+Pq+RY30LFlIk=",
"owner": "NixOS",
"repo": "mobile-nixos",
"rev": "55ec06035e85fcbda5caa6a73d045a9910fb16a2",
"rev": "31704f8a55f5773c9b4e7adb7408a142d142e1f2",
"type": "github"
},
"original": {
"owner": "chayleaf",
"ref": "fix-op6-modem",
"owner": "NixOS",
"repo": "mobile-nixos",
"type": "github"
}

View file

@ -2,10 +2,8 @@
description = "NixOS + Home Manager configuration of chayleaf";
inputs = {
#nixpkgs.url = "github:NixOS/nixpkgs/3dc2b4f8166f744c3b3e9ff8224e7c5d74a5424f";
# nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nix-community-infra.url = "github:nix-community/infra";
nixpkgs-kernel.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-kernel.url = "github:NixOS/nixpkgs/nixos-unstable/c7b821ba2e1e635ba5a76d299af62821cbcb09f3";
nixpkgs.url = "github:chayleaf/nixpkgs";
nixos-hardware.url = "github:NixOS/nixos-hardware";
nix-index-database = {
@ -13,8 +11,7 @@
inputs.nixpkgs.follows = "nixpkgs";
};
mobile-nixos = {
# url = "github:NixOS/mobile-nixos";
url = "github:chayleaf/mobile-nixos/fix-op6-modem";
url = "github:NixOS/mobile-nixos";
flake = false;
};
osu-wine = {

View file

@ -126,7 +126,9 @@ in
options = [ "defaults" "size=2G" "mode=755" ]; };
"/persist" =
{ device = "UUID=${uuids.bch}"; fsType = "bcachefs"; inherit neededForBoot;
# TODO: https://github.com/systemd/systemd/pull/33720/files
options = [
"degraded"
"errors=ro"
"x-systemd.device-timeout=0"
"x-systemd.requires=dev-mapper-bch0.device"

View file

@ -46,8 +46,6 @@ in {
hashedPassword = cfg.hashedNoreplyPassword;
sendOnly = true;
};
# TODO: remove when https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/issues/275 is fixed
services.dovecot2.sieve.extensions = [ "fileinto" ];
services.dovecot2.extraConfig =
let
passwd = builtins.toFile "dovecot2-local-passwd" ''