This commit is contained in:
Miguel Palhas
2025-06-27 21:34:30 +01:00
parent 0137e92e0d
commit 855b54e0c2
4 changed files with 65 additions and 16 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
# style # style
theme = catppuccin-mocha theme = catppuccin-mocha
window-decoration = false # window-decoration = false
window-padding-x = 0 window-padding-x = 0
window-padding-y = 0 window-padding-y = 0
window-padding-color = extend window-padding-color = extend
+1 -1
View File
@@ -48,7 +48,7 @@ in
*) export XDG_SESSION_TYPE=x11; export DISPLAY=:0 ;; *) export XDG_SESSION_TYPE=x11; export DISPLAY=:0 ;;
esac esac
exec "$1" exec ${pkgs.dbus}/bin/dbus-run-session "$1"
''; '';
mode = "0755"; mode = "0755";
}; };
+62 -13
View File
@@ -1,21 +1,70 @@
{ inputs, pkgs, ... }: { inputs, pkgs, ... }:
let hyprland-session = pkgs.makeDesktopItem {
name = "Hyprland";
comment = "Hyprland (custom desktop file)";
desktopNames = "Hyprland";
exec = "Hyprland";
type = "Application";
};
{ {
services.xserver.enable = true; services.xserver.enable = true;
services.desktopManager.gnome.enable = true; services.xserver.displayManager.startx.enable = true;
# services.xserver.displayManager.sessionPackages = [ hyprland-session ];
# services.xserver.windowManager.gnome.enable = true;
# services.xserver.windowManager.gnome.wayland = false;
# hardware.opengl.enable = true;
#
# environment.systemPackages = with pkgs; [
# xorg.xhost
# xorg.xrandr
# xorg.xinit
# gnome-session
# gnome-shell
# ];
#
# xdg = {
# portal = {
# enable = true;
# };
# };
services.displayManager.gdm.enable = true; services.displayManager.gdm.enable = true;
services.desktopManager.gnome.enable = true;
environment.systemPackages = with pkgs; [ programs.dconf.enable = true;
xorg.xhost services = {
xorg.xrandr sysprof.enable = true;
xorg.xinit gnome = {
gnome-session evolution-data-server.enable = true;
gnome-shell glib-networking.enable = true;
]; gnome-keyring.enable = true;
gnome-online-accounts.enable = true;
xdg = {
portal = {
enable = true;
}; };
}; };
environment.gnome.excludePackages =
(with pkgs; [
gnome-photos
gnome-tour
gnome-console
gnome-text-editor
gedit
])
++ (with pkgs; [
cheese # webcam tool
gnome-music
gnome-terminal
epiphany # web browser
geary # email reader
evince # document viewer
totem # video player
tali # poker game
iagno # go game
hitori # sudoku game
atomix # puzzle game
gnome-contacts
gnome-initial-setup
gnome-shell-extensions
]);
} }
+1 -1
View File
@@ -12,7 +12,7 @@
../common/features/nvidia.nix ../common/features/nvidia.nix
../common/features/wayland.nix ../common/features/wayland.nix
../common/features/x11.nix ../common/features/x11.nix
../common/features/greetd.nix # ../common/features/greetd.nix
../common/features/pipewire.nix ../common/features/pipewire.nix
../common/features/docker.nix ../common/features/docker.nix
../common/features/fonts.nix ../common/features/fonts.nix