Compare commits
2 Commits
3bd782b1df
...
56b32ce1dd
Author | SHA1 | Date | |
---|---|---|---|
56b32ce1dd | |||
e1f0a69787 |
@ -13,12 +13,12 @@ in {
|
|||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = lib.mkDefault true;
|
enable = lib.mkDefault true;
|
||||||
wlr = {
|
wlr = {
|
||||||
enable = true;
|
enable = lib.mkDefault true;
|
||||||
settings = {
|
settings = {
|
||||||
screencast = {
|
screencast = {
|
||||||
max_fps = 30;
|
max_fps = lib.mkDefault 30;
|
||||||
chooser_type = "simple";
|
chooser_type = lib.mkDefault "simple";
|
||||||
chooser_cmd = "${pkgs.slurp}/bin/slurp -f %o -or";
|
chooser_cmd = lib.mkDefault "${pkgs.slurp}/bin/slurp -f %o -or";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -35,7 +35,9 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
environment.loginShellInit = lib.mkAfter ''
|
environment.loginShellInit = lib.mkAfter ''
|
||||||
[[ "$(tty)" == /dev/tty1 ]] && exec sway
|
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
|
||||||
|
exec sway
|
||||||
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
i18n.inputMethod = {
|
i18n.inputMethod = {
|
||||||
|
@ -270,6 +270,7 @@ in {
|
|||||||
|
|
||||||
# Shit breaks without this lol
|
# Shit breaks without this lol
|
||||||
programs.dconf.enable = lib.mkDefault true;
|
programs.dconf.enable = lib.mkDefault true;
|
||||||
|
services.dbus.enable = lib.mkDefault true;
|
||||||
services.dbus.packages = with pkgs; [dconf];
|
services.dbus.packages = with pkgs; [dconf];
|
||||||
|
|
||||||
boot.kernel.sysctl = {
|
boot.kernel.sysctl = {
|
||||||
|
Loading…
Reference in New Issue
Block a user