nftable-migration
 1{
 2  pkgs,
 3  ...
 4}:
 5{
 6  imports = [
 7    ./tiling-common.nix
 8  ];
 9
10  environment.systemPackages = with pkgs; [
11    xwayland-satellite
12    wlogout
13  ];
14
15  xdg.portal = {
16    config.niri = {
17      default = [
18        "gnome"
19        "gtk"
20      ];
21      "org.freedesktop.impl.portal.Access" = "gtk";
22      "org.freedesktop.impl.portal.Notification" = "gtk";
23      "org.freedesktop.impl.portal.Secret" = "gnome-keyring";
24      "org.freedesktop.impl.portal.FileChooser" = "gtk";
25      "org.freedesktop.impl.portal.ScreenCast" = "gnome";
26      "org.freedesktop.portal.ScreenCast" = "gnome";
27    };
28  };
29
30  # Allow swaylock to unlock the computer for us
31  security.pam.services.swaylock = {
32    text = "auth include login";
33  };
34
35  # services.greetd.settings = {
36  #   default_session = {
37  #     # command = "${pkgs.greetd.greetd}/bin/agreety --cmd niri";
38  #     command = "${
39  #       lib.makeBinPath [ pkgs.greetd.tuigreet ]
40  #     }/tuigreet -r --asterisks --time --cmd ${niriRun}";
41  #     users = "greeter";
42  #   };
43  #   initial_session = {
44  #     command = "${niriRun}";
45  #     user = "vincent";
46  #   };
47  # };
48}