From c9802da2da684d05dbdbc3f244ddb760db990789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Thu, 19 Jan 2023 01:02:32 -0300 Subject: [PATCH] Install dzgui --- flake.nix | 7 +++++-- overlays/default.nix | 3 ++- user/home.nix | 3 ++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 56ae23c..a2e1e54 100644 --- a/flake.nix +++ b/flake.nix @@ -56,6 +56,9 @@ config = { allowUnfree = true; }; }; lib = nixpkgs.lib; + + packages = import ./pkgs { inherit pkgs; }; + specialArgs = { inherit inputs; }; common_modules = [ ./system/configuration.nix @@ -67,7 +70,7 @@ programs.hyprland.enable = true; # programs.hyprland.package = null; } - (import ./overlays (inputs // { inherit system; })) + (import ./overlays (inputs // { inherit system packages; })) home-manager.nixosModules.home-manager { home-manager.useGlobalPkgs = true; @@ -112,6 +115,6 @@ }]; }; }; - packages.${system}.linuxPackages = import ./pkgs { inherit pkgs; }; + packages.${system}.linuxPackages = packages; }; } diff --git a/overlays/default.nix b/overlays/default.nix index 776d799..aabcd56 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -1,4 +1,4 @@ -(inputs@{ system, ... }: +(inputs@{ system, packages, ... }: { pkgs, ... }: { nixpkgs.overlays = [ inputs.nur.overlay @@ -9,6 +9,7 @@ }) (import ./sixel-patches.nix (inputs // { inherit pkgs; })) (final: prev: { + inherit (packages) dzgui; plymouth-theme-red = (import ./plymouth-theme-red.nix (inputs // { inherit pkgs; })); uservars = import ../user/variables.nix; dhist = inputs.dhist.packages.${system}.dhist; diff --git a/user/home.nix b/user/home.nix index 576da61..a91b9ae 100644 --- a/user/home.nix +++ b/user/home.nix @@ -69,7 +69,8 @@ in { ## games # lutris-unwrapped - # steam # It's enabled in the system config + steam # It's enabled in the system config + dzgui ## chat thunderbird