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

View file

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