Move snowflake to all systems, modify ly's sorting behavior

This commit is contained in:
Jimbo 2024-12-27 07:53:05 -05:00
parent 8d16c69725
commit da6df2f98e
12 changed files with 22 additions and 36 deletions

View file

@ -14,5 +14,19 @@
services.dbus.enable = true;
security.pam.services.swaylock = {};
services.displayManager.ly.settings.waylandsessions = "/etc/greetd/environments";
environment.etc = {
"greetd/environments/sway.desktop".text = ''
[Desktop Entry]
Name=Sway
Exec=sway --unsupported-gpu
'';
"greetd/environments/niri.desktop".text = ''
[Desktop Entry]
Name=Niri
Exec=niri-session
'';
};
};
}

View file

@ -9,6 +9,7 @@
./libvirtd
./mpd
./portals
./snowflake
./ssh
./sunshine
./tlp

View file

@ -1,25 +1,7 @@
{ config, pkgs, lib, ... }:
{ config, ... }:
{
config = lib.mkIf config.system.desktop.enable {
services.displayManager.ly = {
enable = true;
settings = {
vi_mode = true;
waylandsessions = "/etc/greetd/environments";
};
};
environment.etc = {
"greetd/environments/sway.desktop".text = ''
[Desktop Entry]
Name=Sway
Exec=sway --unsupported-gpu
'';
"greetd/environments/niri.desktop".text = ''
[Desktop Entry]
Name=Niri
Exec=niri-session
'';
};
services.displayManager.ly = {
enable = config.system.desktop.enable;
settings.vi_mode = true;
};
}

View file

@ -10,7 +10,6 @@
./minecraft
./mysql
./nginx
./snowflake
./social
./transmission
./vaultwarden

View file

@ -1,7 +1,8 @@
{ ... }:
{
imports = [
./local
./public
./nextcloud
./nfs
./samba
];
}

View file

@ -1,7 +0,0 @@
{ ... }:
{
imports = [
./nfs
./samba
];
}

View file

@ -1,4 +0,0 @@
{ ... }:
{
imports = [ ./nextcloud ];
}