diff --git a/flake.lock b/flake.lock index c32c84e..b02aa72 100644 --- a/flake.lock +++ b/flake.lock @@ -77,11 +77,11 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1759850138, - "narHash": "sha256-fYHIxjTvVIAEDWzenUROuzDPxy1rBCXZNPgh4b1dfgo=", + "lastModified": 1777776915, + "narHash": "sha256-okg6j5wIwTZmdrNhB1TOxpyLtJN9/fV6qXobWGpp+Y8=", "owner": "helix-editor", "repo": "helix", - "rev": "5b0563419eeeaf0595c848865c46be4abad246a7", + "rev": "87d5c05c4432a079d3b7aaa10cda1cfe1803c18c", "type": "github" }, "original": { @@ -98,11 +98,11 @@ ] }, "locked": { - "lastModified": 1758463745, - "narHash": "sha256-uhzsV0Q0I9j2y/rfweWeGif5AWe0MGrgZ/3TjpDYdGA=", + "lastModified": 1763992789, + "narHash": "sha256-WHkdBlw6oyxXIra/vQPYLtqY+3G8dUVZM8bEXk0t8x4=", "owner": "nix-community", "repo": "home-manager", - "rev": "3b955f5f0a942f9f60cdc9cacb7844335d0f21c3", + "rev": "44831a7eaba4360fb81f2acc5ea6de5fde90aaa3", "type": "github" }, "original": { @@ -187,11 +187,11 @@ "xdph": "xdph" }, "locked": { - "lastModified": 1778151950, - "narHash": "sha256-iPVgukP0AgXJBD9d8M0yX35oTE//kaAos6Ux+zPC/tw=", + "lastModified": 1778165951, + "narHash": "sha256-3pTCdJ6k64iLdE86fDxHi6TWdEHOwvQRP4B4N/5ARRE=", "owner": "hyprwm", "repo": "Hyprland", - "rev": "6b8b20100253c083227e611be20360f4d8e7794e", + "rev": "acba1c440b4e5b23338b068611710ee8e3fb8d54", "type": "github" }, "original": { @@ -431,13 +431,28 @@ "type": "github" } }, + "nix-filter": { + "locked": { + "lastModified": 1693833173, + "narHash": "sha256-hlMABKrGbEiJD5dwUSfnw1CQ3bG7KKwDV+Nx3bEZd7U=", + "owner": "numtide", + "repo": "nix-filter", + "rev": "ac030bd9ba98e318e1f4c4328d60766ade8ebe8b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "nix-filter", + "type": "github" + } + }, "nixpkgs": { "locked": { - "lastModified": 1759381078, - "narHash": "sha256-gTrEEp5gEspIcCOx9PD8kMaF1iEmfBcTbO0Jag2QhQs=", + "lastModified": 1775036866, + "narHash": "sha256-ZojAnPuCdy657PbTq5V0Y+AHKhZAIwSIT2cb8UgAz/U=", "owner": "nixos", "repo": "nixpkgs", - "rev": "7df7ff7d8e00218376575f0acdcc5d66741351ee", + "rev": "6201e203d09599479a3b3450ed24fa81537ebc4e", "type": "github" }, "original": { @@ -465,11 +480,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1759994382, - "narHash": "sha256-wSK+3UkalDZRVHGCRikZ//CyZUJWDJkBDTQX1+G77Ow=", + "lastModified": 1767313136, + "narHash": "sha256-16KkgfdYqjaeRGBaYsNrhPRRENs0qzkQVUooNHtoy2w=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "5da4a26309e796daa7ffca72df93dbe53b8164c7", + "rev": "ac62194c3917d5f474c1a844b6fd6da2db95077d", "type": "github" }, "original": { @@ -507,7 +522,8 @@ "helix": "helix", "home-manager": "home-manager", "hyprland": "hyprland", - "nixpkgs": "nixpkgs_3" + "nixpkgs": "nixpkgs_3", + "split-monitor-workspaces": "split-monitor-workspaces" } }, "rust-overlay": { @@ -518,11 +534,11 @@ ] }, "locked": { - "lastModified": 1759631821, - "narHash": "sha256-V8A1L0FaU/aSXZ1QNJScxC12uP4hANeRBgI4YdhHeRM=", + "lastModified": 1775358767, + "narHash": "sha256-f2eC+WIfhjevCPQILuV08i/kmKZzYZpUvkom/33VxCA=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "1d7cbdaad90f8a5255a89a6eddd8af24dc89cafe", + "rev": "20fd44bc663daa53a2575e01293e24e681d62244", "type": "github" }, "original": { @@ -531,6 +547,28 @@ "type": "github" } }, + "split-monitor-workspaces": { + "inputs": { + "hyprland": [ + "hyprland" + ], + "nix-filter": "nix-filter" + }, + "locked": { + "lastModified": 1778019879, + "narHash": "sha256-E4P1ieHBhshPBWn5/OZvsPLsTbXfjUOQ/9/M1IbYYwk=", + "owner": "zjeffer", + "repo": "split-monitor-workspaces", + "rev": "d55750b18d9cc9b8b8a10e650d29950578471398", + "type": "github" + }, + "original": { + "owner": "zjeffer", + "ref": "feat/zjeffer/lua", + "repo": "split-monitor-workspaces", + "type": "github" + } + }, "systems": { "locked": { "lastModified": 1689347949, diff --git a/pkgs/util.nix b/pkgs/util.nix index 2a0fb4b..d817684 100644 --- a/pkgs/util.nix +++ b/pkgs/util.nix @@ -73,4 +73,6 @@ with pkgs; [ openocd probe-rs-tools cachix + hyprpolkitagent + mako ] diff --git a/services/x.nix b/services/x.nix index 07575ee..93f2590 100644 --- a/services/x.nix +++ b/services/x.nix @@ -1,6 +1,6 @@ # X display system config -{ ... }: { +{ pkgs, ... }: { hardware.graphics.enable = true; services.xserver.enable = true; services.xserver.wacom.enable = true; @@ -11,6 +11,15 @@ user = "allen"; }; + xdg.portal = { + enable = true; + extraPortals = with pkgs; [ + xdg-desktop-portal-gtk + xdg-desktop-portal-gnome + ]; + config.common.default = "*"; + }; + services.xserver.desktopManager.gnome.enable = true; services.xserver.xkb.layout = "us"; }