Add default session for Ronin

This commit is contained in:
Evie Litherland-Smith 2023-07-12 08:50:57 +01:00
parent 3dafb1aae8
commit c7c6089237
2 changed files with 18 additions and 12 deletions

View file

@ -1,7 +1,12 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{pkgs, ...}: {
{pkgs, ...}: let
greetd_session = {
user = "elitherl";
command = "Hyprland";
};
in {
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
@ -35,9 +40,9 @@
};
services.greetd = {
enable = true;
settings.initial_session = {
user = "elitherl";
command = "Hyprland";
settings = {
initial_session = greetd_session;
default_session = greetd_session;
};
};

View file

@ -1,7 +1,12 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{pkgs, ...}: {
{pkgs, ...}: let
greetd_session = {
user = "xenia";
command = "Hyprland";
};
in {
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
@ -31,13 +36,9 @@
services.greetd = {
enable = true;
settings.default_session = {
user = "xenia";
command = "Hyprland";
};
settings.initial_session = {
user = "xenia";
command = "Hyprland";
settings = {
default_session = greetd_session;
initial_session = greetd_session;
};
};