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; services.dbus.enable = true;
security.pam.services.swaylock = {}; 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 ./libvirtd
./mpd ./mpd
./portals ./portals
./snowflake
./ssh ./ssh
./sunshine ./sunshine
./tlp ./tlp

View file

@ -1,25 +1,7 @@
{ config, pkgs, lib, ... }: { config, ... }:
{ {
config = lib.mkIf config.system.desktop.enable {
services.displayManager.ly = { services.displayManager.ly = {
enable = true; enable = config.system.desktop.enable;
settings = { settings.vi_mode = true;
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
'';
};
}; };
} }

View file

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

View file

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

View file

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

View file

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