From 3e232c34741a066acb16cfbfa895d632fc4fe5dc Mon Sep 17 00:00:00 2001 From: mjallen18 Date: Mon, 16 Mar 2026 14:25:26 -0500 Subject: [PATCH] overlays lol --- flake.lock | 6 +++--- flake.nix | 10 +++++----- modules/darwin/home/default.nix | 3 --- modules/home/programs/code/default.nix | 6 +++--- modules/nixos/home/default.nix | 3 --- modules/nixos/nix/default.nix | 4 ---- 6 files changed, 11 insertions(+), 21 deletions(-) diff --git a/flake.lock b/flake.lock index 7b65991..495246a 100644 --- a/flake.lock +++ b/flake.lock @@ -1516,11 +1516,11 @@ ] }, "locked": { - "lastModified": 1764974171, - "narHash": "sha256-Da9/3xlOzlGHXkUaPYUwwFet3uWjnNlYHNUNBrl0WD4=", + "lastModified": 1773688615, + "narHash": "sha256-s88P2w8pHa2P08/IS7ht/fRRDbr0r3TrgFDY+hIgme0=", "owner": "mjallen18", "repo": "snowfall-lib", - "rev": "e4bb3f2fd33b26e512f1d90de4c7197d58e708ad", + "rev": "e426f2244f1a773ad75dc4e078070af0f313e881", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 611f571..f4c5af1 100644 --- a/flake.nix +++ b/flake.nix @@ -132,6 +132,11 @@ # Nix files to a separate directory. src = ./.; + overlays = with inputs; [ + nix-vscode-extensions.overlays.default + nix-cachyos-kernel.overlays.default + ]; + # Add a module to a specific host. systems = { # common modules @@ -243,11 +248,6 @@ ]; }; }; - - overlays.nixos = with inputs; [ - nix-vscode-extensions.overlays.default - nix-cachyos-kernel.overlays.default - ]; }; # Configure Snowfall Lib, all of these settings are optional. diff --git a/modules/darwin/home/default.nix b/modules/darwin/home/default.nix index f0a0517..cd8ffd5 100644 --- a/modules/darwin/home/default.nix +++ b/modules/darwin/home/default.nix @@ -35,9 +35,6 @@ # Pass inputs so external modules can access them extraSpecialArgs = { inherit inputs namespace; - # overlays = with inputs; [ - # nix-vscode-extensions.overlays.default - # ]; }; # Make ALL external HM modules available globally diff --git a/modules/home/programs/code/default.nix b/modules/home/programs/code/default.nix index 940ce0b..e34ee37 100644 --- a/modules/home/programs/code/default.nix +++ b/modules/home/programs/code/default.nix @@ -47,10 +47,10 @@ in vscode-extensions.redhat.vscode-yaml vscode-extensions.yy0931.vscode-sqlite3-editor - # nix-vscode-extensions.open-vsx.jeanp413.open-remote-ssh + nix-vscode-extensions.open-vsx.jeanp413.open-remote-ssh ] - ++ (if !isArm then x86_only else [ ]) - ++ (if !isDarwin then [ open-remote-ssh ] else [ ]); + ++ (if !isArm then x86_only else [ ]); + # ++ (if !isDarwin then [ open-remote-ssh ] else [ ]); # ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [ # { # name = "copilot-mcp"; diff --git a/modules/nixos/home/default.nix b/modules/nixos/home/default.nix index ff4dc2c..5cbe94e 100644 --- a/modules/nixos/home/default.nix +++ b/modules/nixos/home/default.nix @@ -53,9 +53,6 @@ in # Pass inputs so external modules can access them extraSpecialArgs = { inherit inputs namespace hasDestopEnvironment; - # overlays = with inputs; [ - # nix-vscode-extensions.overlays.default - # ]; }; # Make ALL external HM modules available globally diff --git a/modules/nixos/nix/default.nix b/modules/nixos/nix/default.nix index fb08d15..3aa51a6 100644 --- a/modules/nixos/nix/default.nix +++ b/modules/nixos/nix/default.nix @@ -68,9 +68,5 @@ rocmSupport = lib.mkDefault config.${namespace}.hardware.amd.enable; allowUnsupportedSystem = true; }; - - overlays = with inputs; [ - nix-cachyos-kernel.overlays.default - ]; }; }