My Nix Configuration

[flake] Fix evaluation errors

Changed files
+21 -16
homes
x86_64-linux
pyrox@zaphod
thehedgehog@zaphod
systems
x86_64-linux
zaphod
security
+10 -8
homes/x86_64-linux/pyrox@zaphod/default.nix
···
py = {
profiles.desktop.enable = true;
};
-
services.kanshi = {
-
enable = true;
-
profiles = {
-
laptop-only = {
+
py.services.kanshi.settings = [
+
{
+
profile = {
+
name = "laptop-only";
outputs = [
{
criteria = "eDP-1";
···
}
];
};
-
office = {
+
}
+
{
+
profile = {
+
name = "office";
outputs = [
{
criteria = "eDP-1";
···
status = "enable";
scale = 1.0;
position = "2160,0";
-
adaptiveSync = true;
}
];
};
-
};
-
};
+
}
+
];
}
+10 -7
homes/x86_64-linux/thehedgehog@zaphod/default.nix
···
};
home.stateVersion = osConfig.system.stateVersion;
py.profiles.desktop.enable = true;
-
services.kanshi = {
-
enable = true;
-
profiles = {
-
laptop-only = {
+
py.services.kanshi.settings = [
+
{
+
profile = {
+
name = "laptop-only";
outputs = [
{
criteria = "eDP-1";
···
}
];
};
-
office = {
+
}
+
{
+
profile = {
+
name = "office";
outputs = [
{
criteria = "eDP-1";
···
}
];
};
-
};
-
};
+
}
+
];
}
+1 -1
systems/x86_64-linux/zaphod/security/pam.nix
···
p11.enable = false;
p11.control = "sufficient";
u2f.enable = true;
-
u2f.cue = true;
+
u2f.settings.cue = true;
sshAgentAuth.enable = false;
};
}