flake: cleanup inputs
This commit is contained in:
parent
c5185394cc
commit
573a6ea0bc
12
flake.nix
12
flake.nix
|
@ -31,11 +31,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self,
|
outputs = { self, nixpkgs, home-manager, ... } @inputs: {
|
||||||
nixpkgs,
|
|
||||||
nixpkgs-unstable,
|
|
||||||
emacs-overlay,
|
|
||||||
home-manager }: {
|
|
||||||
nixosConfigurations.poseidon = nixpkgs.lib.nixosSystem rec {
|
nixosConfigurations.poseidon = nixpkgs.lib.nixosSystem rec {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -55,7 +51,7 @@
|
||||||
packages = import ./pkgs { pkgs = super; };
|
packages = import ./pkgs { pkgs = super; };
|
||||||
|
|
||||||
# packages accessible through pkgs.unstable.package
|
# packages accessible through pkgs.unstable.package
|
||||||
unstable = import nixpkgs-unstable {
|
unstable = import inputs.nixpkgs-unstable {
|
||||||
inherit system;
|
inherit system;
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
|
@ -90,12 +86,12 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
emacs-overlay.overlay
|
inputs.emacs-overlay.overlay
|
||||||
|
|
||||||
(self: super: {
|
(self: super: {
|
||||||
packages = import ./pkgs { pkgs = super; };
|
packages = import ./pkgs { pkgs = super; };
|
||||||
|
|
||||||
unstable = import nixpkgs-unstable {
|
unstable = import inputs.nixpkgs-unstable {
|
||||||
inherit system;
|
inherit system;
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue