Remove unused stuff

Evaluation on cranberry is sure does not leave much memory.
This commit is contained in:
Geoffrey Frogeye 2025-02-25 17:06:14 +01:00
parent dc52303eb7
commit e9e6265c41
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
39 changed files with 24 additions and 116 deletions

View file

@ -1,6 +1,4 @@
{
pkgs,
lib,
config,
...
}:

View file

@ -1,6 +1,5 @@
{
pkgs,
lib,
config,
...
}:

View file

@ -1,6 +1,5 @@
# Need nvidia proprietary drivers to work
{
pkgs,
nixpkgs,
config,
lib,

View file

@ -4,25 +4,26 @@
config,
...
}:
let
setupScript = "${
pkgs.writeShellApplication {
name = "greeter-setup-script";
runtimeInputs = [ pkgs.autorandr ];
text = ''
autorandr --change
'';
}
}/bin/greeter-setup-script";
in
{
config = {
config = lib.mkIf (builtins.length config.frogeye.desktop.x11_screens > 1) {
services = {
autorandr.enable = true;
xserver.displayManager.lightdm.extraConfig = ''
[Seat:*]
display-setup-script = ${setupScript}
'';
xserver.displayManager.lightdm.extraConfig =
let
setupScript = "${
pkgs.writeShellApplication {
name = "greeter-setup-script";
runtimeInputs = [ pkgs.autorandr ];
text = ''
autorandr --change
'';
}
}/bin/greeter-setup-script";
in
''
[Seat:*]
display-setup-script = ${setupScript}
'';
};
};
}

View file

@ -1,6 +1,5 @@
{
pkgs,
lib,
config,
stylix,
...

View file

@ -1,7 +1,6 @@
{
pkgs,
lib,
config,
...
}:
let