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.enable = true;
|
||||
|
||||
## Current login greeter/display manager,
|
||||
## set to run wayland.
|
||||
#displayManager = {
|
||||
#enable = true;
|
||||
#defaultSession = "sway";
|
||||
#sddm = {
|
||||
#enable = true;
|
||||
#wayland.enable = true;
|
||||
#};
|
||||
#};
|
||||
|
||||
};
|
||||
|
||||
programs = {
|
||||
|
|
@ -31,7 +20,7 @@
|
|||
xwayland = {
|
||||
enable = true;
|
||||
#package = [ ];
|
||||
#defaultFontPath = "/run/current-system/sw/share/X11/fonts";
|
||||
defaultFontPath = "/run/current-system/sw/share/X11/fonts";
|
||||
};
|
||||
|
||||
## enable sway window manager
|
||||
|
|
@ -62,12 +51,35 @@
|
|||
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 = {
|
||||
|
||||
variables = {
|
||||
XDG_SESSION_TYPE = "wayland";
|
||||
XDG_CURRENT_DESKTOP = "sway";
|
||||
};
|
||||
|
||||
systemPackages = with pkgs; [
|
||||
xorg.xhost
|
||||
#qt5.wayland
|
||||
|
|
@ -77,6 +89,7 @@
|
|||
#xdg-desktop-portal-wlr
|
||||
#xdg-desktop-portal-gnome
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
## 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 = ''
|
||||
sway
|
||||
fish
|
||||
bash
|
||||
'';
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue