From 5c990ad4963d1a0ddf4e65fdffb9e187ac998f8b Mon Sep 17 00:00:00 2001 From: Miranda Marquez Date: Thu, 13 Jun 2024 13:11:41 -0800 Subject: [PATCH] add broken sway module --- configuration.nix | 2 ++ home.nix | 1 + modules/sway.nix | 11 +++++++++++ 3 files changed, 14 insertions(+) create mode 100644 modules/sway.nix 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"; + }; + }; +}