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 {
inherit system;
config = nixpkgs-config;
overlays = [ (import ./packages) neovim-nightly.overlay hyprland.overlays.default ];
overlays = [ (import ./packages) ];
};
specialArgs = inputs // { inherit secrets; };
modules = [

View file

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

View file

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

View file

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