remove everything from overlays

This commit is contained in:
Adithya 2024-05-12 14:52:02 +05:30
parent 9b970f0df6
commit 3e9450e1c6
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
4 changed files with 8 additions and 5 deletions

View file

@ -55,7 +55,7 @@
pkgs = import nixpkgs { pkgs = import nixpkgs {
inherit system; inherit system;
config = nixpkgs-config; config = nixpkgs-config;
overlays = [ (import ./packages) neovim-nightly.overlay hyprland.overlays.default ]; overlays = [ (import ./packages) ];
}; };
specialArgs = inputs // { inherit secrets; }; specialArgs = inputs // { inherit secrets; };
modules = [ modules = [

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: { { pkgs, neovim-nightly, ... }: {
xdg = { xdg = {
desktopEntries = { desktopEntries = {
"nvim".name = "Neovim wrapper"; "nvim".name = "Neovim wrapper";
@ -8,7 +8,7 @@
}; };
programs.neovim = { programs.neovim = {
enable = true; enable = true;
package = pkgs.neovim-nightly; package = neovim-nightly.packages.${pkgs.system}.default;
withNodeJs = true; withNodeJs = true;
withPython3 = true; withPython3 = true;
withRuby = true; withRuby = true;

View file

@ -1,6 +1,7 @@
{ config, pkgs, ... }: { config, pkgs, hyprland, ... }:
let let
hyprland-pkg = config.wayland.windowManager.hyprland.finalPackage; hyprland-pkg = config.wayland.windowManager.hyprland.finalPackage;
xdph = hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
in in
{ {
imports = [ imports = [
@ -12,7 +13,7 @@ in
xdgOpenUsePortal = true; xdgOpenUsePortal = true;
extraPortals = [ extraPortals = [
pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-gtk
(pkgs.xdg-desktop-portal-hyprland.override { hyprland = hyprland-pkg; }) (xdph.override { hyprland = hyprland-pkg; })
]; ];
config = { config = {
common = { common = {

View file

@ -1,5 +1,6 @@
{ config { config
, pkgs , pkgs
, hyprland
, ... , ...
}: }:
let let
@ -19,6 +20,7 @@ in
{ {
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
package = hyprland.packages.${pkgs.system}.hyprland;
systemd = { systemd = {
enable = true; enable = true;
variables = [ "--all" ]; variables = [ "--all" ];