updated regreet.nix
This commit is contained in:
parent
eb1d8d8ecc
commit
e9b50f4d43
2 changed files with 29 additions and 35 deletions
|
|
@ -12,17 +12,6 @@
|
||||||
## xserver still needed for xwayland stuff
|
## xserver still needed for xwayland stuff
|
||||||
xserver.enable = true;
|
xserver.enable = true;
|
||||||
|
|
||||||
## Current login greeter/display manager,
|
|
||||||
## set to run wayland.
|
|
||||||
#displayManager = {
|
|
||||||
#enable = true;
|
|
||||||
#defaultSession = "sway";
|
|
||||||
#sddm = {
|
|
||||||
#enable = true;
|
|
||||||
#wayland.enable = true;
|
|
||||||
#};
|
|
||||||
#};
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
|
@ -31,14 +20,14 @@
|
||||||
xwayland = {
|
xwayland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
#package = [ ];
|
#package = [ ];
|
||||||
#defaultFontPath = "/run/current-system/sw/share/X11/fonts";
|
defaultFontPath = "/run/current-system/sw/share/X11/fonts";
|
||||||
};
|
};
|
||||||
|
|
||||||
## enable sway window manager
|
## enable sway window manager
|
||||||
sway = {
|
sway = {
|
||||||
enable = true;
|
enable = true;
|
||||||
## Sways implementation of xwayland
|
## Sways implementation of xwayland
|
||||||
#xwayland.enable = true;
|
#xwayland.enable = true;
|
||||||
package = pkgs.swayfx;
|
package = pkgs.swayfx;
|
||||||
extraPackages = [ ];
|
extraPackages = [ ];
|
||||||
wrapperFeatures = {
|
wrapperFeatures = {
|
||||||
|
|
@ -58,16 +47,39 @@
|
||||||
## To start sway related services
|
## To start sway related services
|
||||||
systemd.user.targets.sway = {
|
systemd.user.targets.sway = {
|
||||||
description = "to start sway related services";
|
description = "to start sway related services";
|
||||||
wants = [ "graphical-session.target" ];
|
wants = [ "graphical-session.target" ];
|
||||||
after = [ "graphical-session.target" ];
|
after = [ "graphical-session.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xdg = {
|
||||||
|
portal = {
|
||||||
|
#enable = true;
|
||||||
|
#xdgOpenUsePortal = true;
|
||||||
|
#config = {
|
||||||
|
#common."org.freedesktop.impl.portal.Secret" = [ "gnome-keyring" ];
|
||||||
|
#common.default = [ "gtk" "gnome" ];
|
||||||
|
#sway.default = [ "gtk" "gnome" ];
|
||||||
|
#};
|
||||||
|
#configPackages = with pkgs; [
|
||||||
|
#xdg-desktop-portal-gtk
|
||||||
|
#xdg-desktop-portal-wlr
|
||||||
|
#xdg-desktop-portal-gnome
|
||||||
|
#];
|
||||||
|
#extraPortals = with pkgs; [
|
||||||
|
#xdg-desktop-portal-gtk
|
||||||
|
#xdg-desktop-portal-wlr
|
||||||
|
#xdg-desktop-portal-gnome
|
||||||
|
#];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
|
|
||||||
variables = {
|
variables = {
|
||||||
XDG_SESSION_TYPE = "wayland";
|
XDG_SESSION_TYPE = "wayland";
|
||||||
XDG_CURRENT_DESKTOP = "sway";
|
XDG_CURRENT_DESKTOP = "sway";
|
||||||
};
|
};
|
||||||
|
|
||||||
systemPackages = with pkgs; [
|
systemPackages = with pkgs; [
|
||||||
xorg.xhost
|
xorg.xhost
|
||||||
#qt5.wayland
|
#qt5.wayland
|
||||||
|
|
@ -77,6 +89,7 @@
|
||||||
#xdg-desktop-portal-wlr
|
#xdg-desktop-portal-wlr
|
||||||
#xdg-desktop-portal-gnome
|
#xdg-desktop-portal-gnome
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
## I put fonts here because i didn't know where tf else to put them lol
|
## I put fonts here because i didn't know where tf else to put them lol
|
||||||
|
|
@ -98,24 +111,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
#xdg.portal = {
|
|
||||||
#enable = true;
|
|
||||||
#xdgOpenUsePortal = true;
|
|
||||||
#config = {
|
|
||||||
#common."org.freedesktop.impl.portal.Secret" = [ "gnome-keyring" ];
|
|
||||||
#common.default = [ "gtk" "gnome" ];
|
|
||||||
#sway.default = [ "gtk" "gnome" ];
|
|
||||||
#};
|
|
||||||
#configPackages = with pkgs; [
|
|
||||||
#xdg-desktop-portal-gtk
|
|
||||||
#xdg-desktop-portal-wlr
|
|
||||||
#xdg-desktop-portal-gnome
|
|
||||||
#];
|
|
||||||
#extraPortals = with pkgs; [
|
|
||||||
#xdg-desktop-portal-gtk
|
|
||||||
#xdg-desktop-portal-wlr
|
|
||||||
#xdg-desktop-portal-gnome
|
|
||||||
#];
|
|
||||||
#};
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,6 @@ in
|
||||||
etc."greetd/environments".text = ''
|
etc."greetd/environments".text = ''
|
||||||
sway
|
sway
|
||||||
fish
|
fish
|
||||||
bash
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue