mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 13:09:08 +01:00
Rename namespace de to desktop and dm to login
This commit is contained in:
parent
5183f2bc39
commit
e87961276a
6 changed files with 12 additions and 12 deletions
|
|
@ -5,9 +5,9 @@
|
|||
...
|
||||
}:
|
||||
{
|
||||
options.custom.de.hyprland.classic.enable = lib.mkEnableOption "";
|
||||
options.custom.desktop.hyprland.classic.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.custom.de.hyprland.classic.enable {
|
||||
config = lib.mkIf config.custom.desktop.hyprland.classic.enable {
|
||||
custom = {
|
||||
programs = {
|
||||
hyprland.enable = true;
|
||||
|
|
@ -5,9 +5,9 @@
|
|||
...
|
||||
}:
|
||||
{
|
||||
options.custom.de.hyprland.noctalia.enable = lib.mkEnableOption "";
|
||||
options.custom.desktop.hyprland.noctalia.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.custom.de.hyprland.noctalia.enable {
|
||||
config = lib.mkIf config.custom.desktop.hyprland.noctalia.enable {
|
||||
custom = {
|
||||
programs = {
|
||||
hyprland.enable = true;
|
||||
|
|
@ -5,9 +5,9 @@
|
|||
...
|
||||
}:
|
||||
{
|
||||
options.custom.de.hyprland.enable = lib.mkEnableOption "";
|
||||
options.custom.desktop.hyprland.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.custom.de.hyprland.enable {
|
||||
config = lib.mkIf config.custom.desktop.hyprland.enable {
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
package = pkgs-unstable.hyprland;
|
||||
|
|
@ -5,10 +5,10 @@
|
|||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.custom.dm.tuigreet;
|
||||
cfg = config.custom.login.tuigreet;
|
||||
in
|
||||
{
|
||||
options.custom.dm.tuigreet = {
|
||||
options.custom.login.tuigreet = {
|
||||
enable = lib.mkEnableOption "";
|
||||
autoLogin = lib.mkEnableOption "";
|
||||
};
|
||||
|
|
@ -30,7 +30,7 @@ in
|
|||
"--remember-user-session"
|
||||
"--sessions '${sessionData}/share/wayland-sessions:${sessionData}/share/xsessions'"
|
||||
];
|
||||
initial_session = lib.mkIf (cfg.autoLogin && config.custom.de.hyprland.enable) {
|
||||
initial_session = lib.mkIf (cfg.autoLogin && config.custom.desktop.hyprland.enable) {
|
||||
command = lib.getExe pkgs.hyprland;
|
||||
user = "seb";
|
||||
};
|
||||
|
|
@ -17,11 +17,11 @@
|
|||
custom = {
|
||||
networking.overlay.role = "client";
|
||||
boot.silent = true;
|
||||
dm.tuigreet = {
|
||||
login.tuigreet = {
|
||||
enable = true;
|
||||
autoLogin = true;
|
||||
};
|
||||
de.hyprland.enable = true;
|
||||
desktop.hyprland.enable = true;
|
||||
services = {
|
||||
sound.enable = true;
|
||||
syncthing.enable = true;
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
custom = {
|
||||
sops.enable = true;
|
||||
|
||||
de.hyprland.noctalia.enable = true;
|
||||
desktop.hyprland.noctalia.enable = true;
|
||||
|
||||
programs = {
|
||||
shell = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue