Skip to content

Commit a54137a

Browse files
committed
gretchen: add wayland and aurora
1 parent f27c180 commit a54137a

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

gretchen/configuration.nix

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ in
1212
./hardware-configuration.nix
1313
<home-manager/nixos>
1414
../tchekda_user.nix
15+
../wayland.nix
1516
];
1617

1718
# Use the systemd-boot EFI boot loader.
@@ -308,7 +309,7 @@ in
308309

309310
useGlamor = true;
310311

311-
videoDrivers = [ "nvidia" ];
312+
# videoDrivers = [ "nvidia" ];
312313

313314
windowManager = {
314315
i3 = {

home-manager/gretchen/default.nix

+5
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ let
55
url = https://files.tchekda.fr/suits-wallpaper.jpg;
66
sha256 = "sha256:18i26c2szmsas9r962ndncikp2lzqljg9rr4v2szp03hfp2sah0q";
77
};
8+
aurora = pkgs.callPackage ../aurora.nix { };
89
in
910
{
1011
imports = [
@@ -14,9 +15,13 @@ in
1415
../alacritty.nix
1516
../i3.nix
1617
../dunst.nix
18+
../wayland.nix
1719
];
1820

1921
home = {
22+
23+
packages = [aurora];
24+
2025
sessionPath = [
2126
"/home/tchekda/.yarn/bin"
2227
];

home-manager/waybar.nix

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
spacing = 4;
1111
output = [
1212
"eDP-1"
13-
"HDMI-A-1"
1413
];
1514
modules-left = [ "sway/workspaces" "sway/mode" "wlr/taskbar" ];
1615
modules-center = [ "sway/window" ];

hspecter/wayland.nix wayland.nix

+4-1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ in
5151
wayland
5252
glib # gsettings
5353
];
54+
environment.variables.QT_QPA_PLATFORMTHEME = lib.mkForce "qt5ct";
5455

5556
# xdg-desktop-portal works by exposing a series of D-Bus interfaces
5657
# known as portals under a well-known name
@@ -65,7 +66,7 @@ in
6566
# gtk portal needed to make gtk apps happy
6667
extraPortals = with pkgs; [
6768
xdg-desktop-portal-wlr
68-
xdg-desktop-portal-gtk
69+
# xdg-desktop-portal-gtk
6970
];
7071
gtkUsePortal = true;
7172
};
@@ -87,4 +88,6 @@ in
8788
'';
8889
};
8990
programs.qt5ct.enable = true;
91+
92+
# services.xserver.videoDrivers = [ "nouveau" ];
9093
}

0 commit comments

Comments
 (0)