Set default session to sway
This commit is contained in:
parent
716e54dd12
commit
0c605d9684
4 changed files with 7 additions and 2 deletions
|
|
@ -13,6 +13,7 @@
|
||||||
../../modules/network-client.nix
|
../../modules/network-client.nix
|
||||||
../../modules/locale.nix
|
../../modules/locale.nix
|
||||||
../../modules/timezone-imperatively.nix
|
../../modules/timezone-imperatively.nix
|
||||||
|
../../modules/lightdm-gtk.nix
|
||||||
../../modules/boot-login.nix
|
../../modules/boot-login.nix
|
||||||
../../modules/fonts.nix
|
../../modules/fonts.nix
|
||||||
../../modules/cli-essentials.nix
|
../../modules/cli-essentials.nix
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
displayManager.defaultSession = "sway";
|
||||||
xserver.displayManager = {
|
xserver.displayManager = {
|
||||||
lightdm = {
|
lightdm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, lib, ...}: {
|
||||||
# i3 related options
|
# i3 related options
|
||||||
environment.pathsToLink = ["/libexec"]; # links /libexec from derivations to /run/current-system/sw
|
environment.pathsToLink = ["/libexec"]; # links /libexec from derivations to /run/current-system/sw
|
||||||
services.displayManager.defaultSession = "none+i3";
|
services.displayManager.defaultSession = lib.mkDefault "none+i3";
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,10 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
services.displayManager.defaultSession = lib.mkDefault "sway";
|
||||||
|
|
||||||
programs.sway = {
|
programs.sway = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wrapperFeatures = {
|
wrapperFeatures = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue