This commit is contained in:
Miguel Palhas
2025-03-15 19:20:26 +00:00
parent 49a137bc86
commit 61a357409b
8 changed files with 42 additions and 20 deletions
+13
View File
@@ -0,0 +1,13 @@
{ config, pkgs, ... }:
{
home.packages = with pkgs; [
gnome-shell
gnome-control-center
];
dconf.settings = {
"org/gnome/desktop/interface" = {
text-scaling-factor = "1.5";
};
};
}
-11
View File
@@ -118,17 +118,6 @@ in
# metamask
"float, class:chrome-nkbihfbeogaeaoehlefnkodbefgpgknn-.*"
# unity
"minsize 230 200, initialTitle:(UnityEditor.AddComponent.AddComponentWindow)"
"minsize 300 200, initialTitle:(UnityEditor.IMGUI.Controls.AdvancedDropdownWindow)"
"minsize 230 200, initialTitle:(UnityEditor.Rendering.FilterWindow)"
"minsize 300 200, initialTitle:(UnityEditor.LayerVisibilityWindow)"
"minsize 230 500, initialTitle:(UnityEditor.AnnotationWindow)"
"minsize 150 300, initialTitle:(UnityEditor.PopupWindow)"
"minsize 500 350, initialTitle:(Select Preset...)"
"minsize 300 100, initialTitle:(UnityEditor.Snap.GridSettingsWindow)"
"minsize 500 500, initialTitle:(UnityEngine.InputSystem.Editor.AdvancedDropdownWindow) "
];
"$mod" = "SUPER";
+14 -1
View File
@@ -13,7 +13,7 @@
../common/programs/default.nix
../common/programs/desktop
../common/programs/hyprland
../common/programs/gnome-shell
../common/programs/gnome-shell.nix
../common/programs/kitty.nix
../common/programs/ghostty.nix
../common/programs/syncthing.nix
@@ -39,6 +39,19 @@
"float, class:ethui"
"move 100%-800 100%-800, class:ethui"
"noinitialfocus, class:ethui"
# unity
"minsize 230 200, initialTitle:(UnityEditor.AddComponent.AddComponentWindow)"
"minsize 300 200, initialTitle:(UnityEditor.IMGUI.Controls.AdvancedDropdownWindow)"
"minsize 230 200, initialTitle:(UnityEditor.Rendering.FilterWindow)"
"minsize 300 200, initialTitle:(UnityEditor.LayerVisibilityWindow)"
"minsize 230 500, initialTitle:(UnityEditor.AnnotationWindow)"
"minsize 150 300, initialTitle:(UnityEditor.PopupWindow)"
"minsize 500 350, initialTitle:(Select Preset...)"
"minsize 300 100, initialTitle:(UnityEditor.Snap.GridSettingsWindow)"
"minsize 500 500, initialTitle:(UnityEngine.InputSystem.Editor.AdvancedDropdownWindow) "
"move 50% 90%, title:^Unity$, onworkspace:2"
"noinitialfocus, title:^Unity$, onworkspace:2"
];
env = [
+11
View File
@@ -0,0 +1,11 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
gnome-shell
];
environment.variables = {
GDK_SCALE = "2";
GDK_DPI_SCALE = "1.5";
};
}
+3 -1
View File
@@ -2,6 +2,7 @@
let
tuigreet = "${pkgs.greetd.tuigreet}/bin/tuigreet";
hyprland-session = "${pkgs.hyprland}/share/wayland-sessions";
gnome-shell = "${pkgs.gnome-shell}/bin/gnome-shell";
in
{
programs.hyprland.enable = true;
@@ -13,7 +14,7 @@ in
enable = true;
settings = {
default_session = {
command = "${tuigreet} --time --remember --remember-session --sessions ${hyprland-session}";
command = "${tuigreet} --time --remember --remember-session --sessions ${hyprland-session},${gnome-shell}";
user = "greeter";
};
};
@@ -23,4 +24,5 @@ in
substituters = [ "https://hyprland.cachix.org" ];
trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ];
};
}
-6
View File
@@ -1,6 +0,0 @@
{ inputs, pkgs, ... }:
{
services.xserver.enable = true;
services.xserver.windowManager.gnome.enable = true;
hardware.opengl.enable = true;
}
+1 -1
View File
@@ -11,7 +11,7 @@
../common/features/networking.nix
../common/features/nvidia.nix
../common/features/wayland.nix
../common/features/xorg.nix
../common/features/gnome-shell.nix
../common/features/pipewire.nix
../common/features/docker.nix
../common/features/fonts.nix