From 97b25460c936b69284c2b971d7474474c0d2923e Mon Sep 17 00:00:00 2001 From: Ari Sosnovsky Date: Mon, 21 Jul 2025 16:54:44 -0400 Subject: [PATCH] bigbox links --- configs/niri-config.kdl | 33 +++++++++++++++++++++------------ configs/niri/nwg-bar/bar.json | 7 +------ hosts/hl-bigbox1.nix | 14 +++++++------- system-configs/terra1-apps | 1 + 4 files changed, 30 insertions(+), 25 deletions(-) create mode 120000 system-configs/terra1-apps diff --git a/configs/niri-config.kdl b/configs/niri-config.kdl index b067ded..c3f2ba9 100644 --- a/configs/niri-config.kdl +++ b/configs/niri-config.kdl @@ -17,6 +17,7 @@ environment { QT_WAYLAND_DISABLE_WINDOWDECORATION "1" NIXOS_OZONE_WL "1" DISPLAY ":0" + ELECTRON_OZONE_PLATFORM_HINT "auto" } @@ -51,6 +52,12 @@ output "Samsung Electric Company S22R35x H4TR503886" { position x=980 y=-1080 } +// Office +output "Dell Inc. DELL SE3223Q 1WDWKK3" { + scale 2 + position x=0 y=-1080 +} + // ========================= // General layout // ========================= @@ -87,6 +94,14 @@ window-rule { match app-id="nm-connection-editor" match app-id=".blueman-manager-wrapped" match app-id=r#"^org.gnome.Calendar$"# + match app-id=r#"^gcr-prompter$"# + match app-id=r#"^xdg-desktop-portal-gnome$"# + match app-id=r#"^nm-applet$"# + match app-id=r#"^chrome-.*"# + match title="$Huddle:.*" app-id="Slack" + match title="Visual Studio Code" app-id="code" + + open-focused true open-floating true default-floating-position x=0 y=25 relative-to="top" default-window-height { proportion 0.5; } @@ -98,10 +113,12 @@ window-rule { } window-rule { match app-id=r#"^Slack$"# - match app-id=r#"^code$"# + match app-id="code" exclude app-id=r#"^code$"# title=r#"^Visual Studio Code$"# - open-fullscreen true + open-fullscreen false open-floating false + open-maximized true + open-focused true } // ========================= // General Stuff @@ -143,6 +160,7 @@ binds { Mod+Ctrl+Up { move-window-to-workspace-up; } Mod+Ctrl+Down { move-window-to-workspace-down; } + Mod+W { toggle-column-tabbed-display; } Mod+F { maximize-column; } Mod+Shift+F { fullscreen-window; } Mod+Ctrl+F { reset-window-height; } @@ -174,18 +192,9 @@ workspace "chat" { open-on-output "eDP-1" } spawn-at-startup "slack" -spawn-at-startup "signal-desktop" window-rule { match app-id=r#"^Slack$"# match app-id=r#"^signal$"# open-on-workspace "chat" - open-fullscreen true -} - -/// Coding -workspace "code" -window-rule { - match app-id=r#"^code$"# - match app-id=r#"^DBeaver$"# - open-on-workspace "code" + open-focused true } diff --git a/configs/niri/nwg-bar/bar.json b/configs/niri/nwg-bar/bar.json index 7cae46e..5522dc3 100644 --- a/configs/niri/nwg-bar/bar.json +++ b/configs/niri/nwg-bar/bar.json @@ -4,11 +4,6 @@ "exec": "systemctl suspend", "icon": "/home/ari/.config/nwg-bar/images/system-suspend.svg" }, - { - "label": "Hibernate", - "exec": "systemctl hibernate", - "icon": "/home/ari/.config/nwg-bar/images/system-hibernate.svg" - }, { "label": "Logout", "exec": "niri msg action quit", @@ -24,4 +19,4 @@ "exec": "systemctl -i poweroff", "icon": "/home/ari/.config/nwg-bar/images/system-shutdown.svg" } -] \ No newline at end of file +] diff --git a/hosts/hl-bigbox1.nix b/hosts/hl-bigbox1.nix index 41de3ab..96e43c2 100644 --- a/hosts/hl-bigbox1.nix +++ b/hosts/hl-bigbox1.nix @@ -20,8 +20,8 @@ }; nixos = { desktop = { - enable = true; - gnome.enable = true; + enable = false; + gnome.enable = false; }; common.ssh-server.enable = true; common.containers.openMetricsPort = true; @@ -56,8 +56,8 @@ networkDrives.enable = true; }; services.displayManager.defaultSession = "gnome"; - services.xserver.displayManager.gdm.enable = true; - services.xserver.displayManager.gdm.wayland = true; + services.xserver.displayManager.gdm.enable = false; + services.xserver.displayManager.gdm.wayland = false; services.autosuspend.enable = false; services.displayManager.autoLogin = { enable = true; @@ -78,8 +78,8 @@ services.xrdp.openFirewall = true; # Sunshine services.sunshine = { - enable = true; - autoStart = true; + enable = false; + autoStart = false; capSysAdmin = true; openFirewall = true; }; @@ -111,7 +111,7 @@ ]; # Steam programs.steam = { - enable = true; + enable = false; extest.enable = true; remotePlay.openFirewall = true; dedicatedServer.openFirewall = true; diff --git a/system-configs/terra1-apps b/system-configs/terra1-apps new file mode 120000 index 0000000..21f3dcb --- /dev/null +++ b/system-configs/terra1-apps @@ -0,0 +1 @@ +/mnt/terra1/Data/apps/ \ No newline at end of file