fix statix checks
This commit is contained in:
parent
1535dc60fb
commit
d899f10006
@ -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;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -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
|
||||||
|
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user