try to add a stable nixpkgs overlay
This commit is contained in:
parent
94f08a3847
commit
12236a3e49
3 changed files with 6 additions and 3 deletions
|
|
@ -19,7 +19,6 @@
|
||||||
outputs = {...} @ inputs: let
|
outputs = {...} @ inputs: let
|
||||||
# basic boilerplate-reducing lib with a bunch of functions
|
# basic boilerplate-reducing lib with a bunch of functions
|
||||||
helperLib = import ./helperLib/default.nix {inherit inputs;};
|
helperLib = import ./helperLib/default.nix {inherit inputs;};
|
||||||
stablepkgs = inputs.nixpkgs-stable;
|
|
||||||
in
|
in
|
||||||
with helperLib; {
|
with helperLib; {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
{inputs}: let
|
{inputs}: let
|
||||||
helperLib = (import ./default.nix) {inherit inputs;};
|
helperLib = (import ./default.nix) {inherit inputs;};
|
||||||
outputs = inputs.self.outputs;
|
outputs = inputs.self.outputs;
|
||||||
|
overlay-stable = final: prev: {
|
||||||
|
stable = inputs.nixpkgs-stable.legacyPackages.${prev.system};
|
||||||
|
};
|
||||||
in rec {
|
in rec {
|
||||||
# ================================================================ #
|
# ================================================================ #
|
||||||
# = My Lib = #
|
# = My Lib = #
|
||||||
|
|
@ -18,6 +21,7 @@ in rec {
|
||||||
inherit inputs outputs helperLib;
|
inherit inputs outputs helperLib;
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
|
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-stable ]; })
|
||||||
config
|
config
|
||||||
outputs.nixosModules.default
|
outputs.nixosModules.default
|
||||||
];
|
];
|
||||||
|
|
@ -30,6 +34,7 @@ in rec {
|
||||||
inherit inputs helperLib outputs;
|
inherit inputs helperLib outputs;
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
|
({ config, pkgs, ...}: { nixpkgs.overlays = [ overlay-stable ]; })
|
||||||
config
|
config
|
||||||
outputs.homeManagerModules.default
|
outputs.homeManagerModules.default
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -3,13 +3,12 @@
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
inputs,
|
inputs,
|
||||||
stablepkgs,
|
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [];
|
imports = [];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
stablepkgs.inkscape
|
inkscape
|
||||||
gimp
|
gimp
|
||||||
krita
|
krita
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue