diff --git a/configuration.nix b/configuration.nix index 97a417d..259b71a 100644 --- a/configuration.nix +++ b/configuration.nix @@ -139,6 +139,8 @@ guix ''; xdg.portal.enable = true; + xdg.portal.config.common.default = "*"; + security.polkit.enable = true; services.flatpak.enable = true; # Some programs need SUID wrappers, can be configured further or are diff --git a/home.nix b/home.nix index 7c9c44f..13b0e76 100644 --- a/home.nix +++ b/home.nix @@ -7,6 +7,7 @@ with lib.hm.gvariant; ./modules/shell.nix ./modules/firefox.nix # ./modules/emacs.nix + # ./modules/sway.nix ]; # Home Manager needs a bit of information about you and the # paths it should manage. diff --git a/modules/sway.nix b/modules/sway.nix new file mode 100644 index 0000000..0ff6123 --- /dev/null +++ b/modules/sway.nix @@ -0,0 +1,11 @@ +{ config, lib, pkgs, nixos-unstable, inputs, ... }: + +{ + wayland.windowManager.sway = { + enable = true; + config = rec { + modifier = "Mod4"; + terminal = "kitty"; + }; + }; +}