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