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 = {
eDP-1 = {
inherit (eDP-1.${config.networking.hostName}) mode;
enable = true;
primary = true;
crtc = 0;
position = "0x0";
mode = eDP-1.${config.networking.hostName}.mode;
};
};
};
@ -76,10 +76,10 @@ in
position = "1920x0";
};
eDP-1 = {
inherit (eDP-1.${config.networking.hostName}) mode;
enable = true;
crtc = 1;
position = "0x480";
mode = eDP-1.${config.networking.hostName}.mode;
};
};
};

View File

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

View File

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