chore: fmt + linter complaints

This commit is contained in:
Ari Gato 2024-05-30 17:26:25 +02:00
parent ddb3615228
commit 39b79979ea
6 changed files with 29 additions and 28 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ config, pkgs, ... }:
let
gitea-runner-directory = "/var/lib/gitea-runner";

View file

@ -175,7 +175,9 @@ in {
environment.sessionVariables = { MOZ_ENABLE_WAYLAND = "1"; };
environment.systemPackages = with pkgs; [
environment.systemPackages = [
inputs.agenix.packages.${pkgs.system}.default
] ++ (with pkgs; [
krfb # for kdeconnect virtual display
chromium
# electrum
@ -278,6 +280,5 @@ in {
nmap
colmena
waypipe
inputs.agenix.packages.${pkgs.system}.default
];
]);
}

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
_:
{
services.power-profiles-daemon.enable = true;

View file

@ -37,10 +37,8 @@ in {
deployment.buildOnTarget = lib.mkForce false;
deployment.tags = [ "reachable-hs" ];
imports = with inputs.self.nixosModules; [
"${inputs.nixpkgs}/nixos/modules/installer/sd-card/sd-image.nix"
common
];
imports = [ "${inputs.nixpkgs}/nixos/modules/installer/sd-card/sd-image.nix" ]
++ (with inputs.self.nixosModules; [ common ]);
nixpkgs.overlays = [ inputs.self.overlays.rpi5 ];
@ -207,7 +205,16 @@ in {
# diet
boot.binfmt.emulatedSystems = lib.mkForce [ ];
environment.systemPackages = with pkgs;
environment.systemPackages = [
# avoid warnings
(pkgs.glibcLocales.override {
allLocales = false;
locales = [ "en_US.UTF-8/UTF-8" "en_CA.UTF-8/UTF-8" "en_DK.UTF-8/UTF-8" ];
})
# strictly unnecessary
(pkgs.v4l-utils.override { withGUI = false; })
] ++ (with pkgs;
# lib.mkForce
[
# strictly required
@ -221,11 +228,6 @@ in {
# avoid warnings
gnugrep
(glibcLocales.override {
allLocales = false;
locales =
[ "en_US.UTF-8/UTF-8" "en_CA.UTF-8/UTF-8" "en_DK.UTF-8/UTF-8" ];
})
# nice-to-haves
procps
@ -245,8 +247,7 @@ in {
alsa-utils
bluez
pipewire
(v4l-utils.override { withGUI = false; })
];
]);
programs.nix-index.enable = lib.mkForce false;
services.journald.extraConfig = ''
Storage=volatile

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, inputs, ... }:
{ config, pkgs, inputs, ... }:
let
keaJsonWithIncludes = name: value:

View file

@ -3,16 +3,15 @@
{
deployment.tags = [ "reachable-everywhere" ];
imports = with inputs.self.nixosModules; [
imports = [ inputs.simple-nixos-mailserver.nixosModule ]
++ (with inputs.self.nixosModules; [
common
secureboot
monitoring
ci-runners
inputs.simple-nixos-mailserver.nixosModule
./hardware.nix
];
]);
boot.kernelPackages = pkgs.linuxPackages;
@ -295,7 +294,7 @@
client_api = {
registration_disabled = true;
rate_limiting.enabled = false;
registration_shared_secret = ''''${REGISTRATION_SHARED_SECRET}'';
registration_shared_secret = "\${REGISTRATION_SHARED_SECRET}";
};
app_service_api.database = database_config;