Move snowflake to all systems, modify ly's sorting behavior
This commit is contained in:
parent
8d16c69725
commit
da6df2f98e
|
@ -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
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
./libvirtd
|
./libvirtd
|
||||||
./mpd
|
./mpd
|
||||||
./portals
|
./portals
|
||||||
|
./snowflake
|
||||||
./ssh
|
./ssh
|
||||||
./sunshine
|
./sunshine
|
||||||
./tlp
|
./tlp
|
||||||
|
|
|
@ -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
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
./minecraft
|
./minecraft
|
||||||
./mysql
|
./mysql
|
||||||
./nginx
|
./nginx
|
||||||
./snowflake
|
|
||||||
./social
|
./social
|
||||||
./transmission
|
./transmission
|
||||||
./vaultwarden
|
./vaultwarden
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./local
|
./nextcloud
|
||||||
./public
|
./nfs
|
||||||
|
./samba
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
{ ... }:
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./nfs
|
|
||||||
./samba
|
|
||||||
];
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
{ ... }:
|
|
||||||
{
|
|
||||||
imports = [ ./nextcloud ];
|
|
||||||
}
|
|
Loading…
Reference in a new issue