fix statix checks

This commit is contained in:
Motiejus Jakštys 2024-08-22 13:11:40 +03:00
parent 1535dc60fb
commit d899f10006
3 changed files with 4 additions and 4 deletions

View File

@ -38,11 +38,11 @@ in
}; };
config = { config = {
eDP-1 = { eDP-1 = {
inherit (eDP-1.${config.networking.hostName}) mode;
enable = true; enable = true;
primary = true; primary = true;
crtc = 0; crtc = 0;
position = "0x0"; position = "0x0";
mode = eDP-1.${config.networking.hostName}.mode;
}; };
}; };
}; };
@ -76,10 +76,10 @@ in
position = "1920x0"; position = "1920x0";
}; };
eDP-1 = { eDP-1 = {
inherit (eDP-1.${config.networking.hostName}) mode;
enable = true; enable = true;
crtc = 1; crtc = 1;
position = "0x480"; position = "0x480";
mode = eDP-1.${config.networking.hostName}.mode;
}; };
}; };
}; };

View File

@ -5,7 +5,7 @@
... ...
}: }:
let let
username = config.mj.username; inherit (config.mj) username;
firefox = firefox =
if (pkgs.stdenv.hostPlatform.system == "x86_64-linux") then pkgs.firefox-bin else pkgs.firefox; if (pkgs.stdenv.hostPlatform.system == "x86_64-linux") then pkgs.firefox-bin else pkgs.firefox;
in in

View File

@ -12,9 +12,9 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
services.photoprism = { services.photoprism = {
inherit (cfg) passwordFile;
enable = true; enable = true;
originalsPath = "/var/cache/photoprism/userdata"; originalsPath = "/var/cache/photoprism/userdata";
passwordFile = cfg.passwordFile;
}; };
systemd = { systemd = {