flake: add packages to outputs
This commit is contained in:
parent
a080a07b21
commit
1493f43ba7
41
flake.nix
41
flake.nix
@ -6,22 +6,31 @@
|
|||||||
inputs.nixpkgs.url = "github:nrdxp/nixpkgs/fork";
|
inputs.nixpkgs.url = "github:nrdxp/nixpkgs/fork";
|
||||||
inputs.home.url = "github:nrdxp/home-manager/flakes";
|
inputs.home.url = "github:nrdxp/home-manager/flakes";
|
||||||
|
|
||||||
outputs = { self, home, nixpkgs }: {
|
outputs = { self, home, nixpkgs }: let
|
||||||
nixosConfigurations = let
|
pkgs = import nixpkgs {
|
||||||
configs = import ./hosts {
|
system = "x86_64-linux";
|
||||||
inherit nixpkgs;
|
overlays = self.overlays;
|
||||||
flake = self;
|
};
|
||||||
home = home.nixosModules.home-manager;
|
in
|
||||||
|
{
|
||||||
|
nixosConfigurations = let
|
||||||
|
configs = import ./hosts {
|
||||||
|
inherit nixpkgs;
|
||||||
|
flake = self;
|
||||||
|
home = home.nixosModules.home-manager;
|
||||||
|
};
|
||||||
|
|
||||||
|
in
|
||||||
|
configs;
|
||||||
|
|
||||||
|
overlay = import ./pkgs;
|
||||||
|
|
||||||
|
overlays = [ self.overlay ];
|
||||||
|
|
||||||
|
packages.x86_64-linux = {
|
||||||
|
inherit (pkgs) sddm-chili dejavu_nerdfont purs;
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
nixosModules = import ./modules;
|
||||||
configs;
|
};
|
||||||
|
|
||||||
overlay = import ./pkgs;
|
|
||||||
|
|
||||||
overlays = [ self.overlay ];
|
|
||||||
|
|
||||||
nixosModules = import ./modules;
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
self: super: {
|
final: prev: {
|
||||||
sddm-chili = super.callPackage ./applications/display-managers/sddm/themes/chili {};
|
sddm-chili = prev.callPackage ./applications/display-managers/sddm/themes/chili {};
|
||||||
dejavu_nerdfont = super.callPackage ./data/fonts/dejavu-nerdfont {};
|
dejavu_nerdfont = prev.callPackage ./data/fonts/dejavu-nerdfont {};
|
||||||
purs = super.callPackage ./shells/zsh/purs {};
|
purs = prev.callPackage ./shells/zsh/purs {};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user