Install dzgui

This commit is contained in:
Leonardo Eugênio 2023-01-19 01:02:32 -03:00
parent 25224abafb
commit c9802da2da
3 changed files with 9 additions and 4 deletions

View file

@ -56,6 +56,9 @@
config = { allowUnfree = true; }; config = { allowUnfree = true; };
}; };
lib = nixpkgs.lib; lib = nixpkgs.lib;
packages = import ./pkgs { inherit pkgs; };
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
common_modules = [ common_modules = [
./system/configuration.nix ./system/configuration.nix
@ -67,7 +70,7 @@
programs.hyprland.enable = true; programs.hyprland.enable = true;
# programs.hyprland.package = null; # programs.hyprland.package = null;
} }
(import ./overlays (inputs // { inherit system; })) (import ./overlays (inputs // { inherit system packages; }))
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
@ -112,6 +115,6 @@
}]; }];
}; };
}; };
packages.${system}.linuxPackages = import ./pkgs { inherit pkgs; }; packages.${system}.linuxPackages = packages;
}; };
} }

View file

@ -1,4 +1,4 @@
(inputs@{ system, ... }: (inputs@{ system, packages, ... }:
{ pkgs, ... }: { { pkgs, ... }: {
nixpkgs.overlays = [ nixpkgs.overlays = [
inputs.nur.overlay inputs.nur.overlay
@ -9,6 +9,7 @@
}) })
(import ./sixel-patches.nix (inputs // { inherit pkgs; })) (import ./sixel-patches.nix (inputs // { inherit pkgs; }))
(final: prev: { (final: prev: {
inherit (packages) dzgui;
plymouth-theme-red = (import ./plymouth-theme-red.nix (inputs // { inherit pkgs; })); plymouth-theme-red = (import ./plymouth-theme-red.nix (inputs // { inherit pkgs; }));
uservars = import ../user/variables.nix; uservars = import ../user/variables.nix;
dhist = inputs.dhist.packages.${system}.dhist; dhist = inputs.dhist.packages.${system}.dhist;

View file

@ -69,7 +69,8 @@ in {
## games ## games
# lutris-unwrapped # lutris-unwrapped
# steam # It's enabled in the system config steam # It's enabled in the system config
dzgui
## chat ## chat
thunderbird thunderbird