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
theme = catppuccin-mocha
window-decoration = false
# window-decoration = false
window-padding-x = 0
window-padding-y = 0
window-padding-color = extend
+1 -1
View File
@@ -48,7 +48,7 @@ in
*) export XDG_SESSION_TYPE=x11; export DISPLAY=:0 ;;
esac
exec "$1"
exec ${pkgs.dbus}/bin/dbus-run-session "$1"
'';
mode = "0755";
};
+62 -13
View File
@@ -1,21 +1,70 @@
{ 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.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;
environment.systemPackages = with pkgs; [
xorg.xhost
xorg.xrandr
xorg.xinit
gnome-session
gnome-shell
];
xdg = {
portal = {
enable = true;
services.desktopManager.gnome.enable = true;
programs.dconf.enable = true;
services = {
sysprof.enable = true;
gnome = {
evolution-data-server.enable = true;
glib-networking.enable = true;
gnome-keyring.enable = true;
gnome-online-accounts.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/wayland.nix
../common/features/x11.nix
../common/features/greetd.nix
# ../common/features/greetd.nix
../common/features/pipewire.nix
../common/features/docker.nix
../common/features/fonts.nix