Flake: do not set up pkgs
This commit is contained in:
parent
6df7d43e73
commit
8975afd18d
1 changed files with 6 additions and 18 deletions
24
flake.nix
24
flake.nix
|
|
@ -43,20 +43,12 @@ outputs = {nixpkgs, nixpkgs-unstable, agenix, home-manager, home-manager-unstabl
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
Archie = nixpkgs-unstable.lib.nixosSystem {
|
Archie = nixpkgs-unstable.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = import nixpkgs-unstable {
|
/*
|
||||||
system = "x86_64-linux";
|
I used to set up nixpkgs in the flake, but doing that made
|
||||||
config = { allowUnfree = true; }; # TODO: Find why this doesn't work
|
defining overlays in modules impossible (or at least I could
|
||||||
overlays =
|
not figure out how)
|
||||||
let
|
Also has nice side effect of making it easier to add new systems :3
|
||||||
discordOverlay = self: super: {
|
*/
|
||||||
discord = super.discord.override {
|
|
||||||
withOpenASAR = true;
|
|
||||||
withVencord = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
in
|
|
||||||
[ discordOverlay ];
|
|
||||||
};
|
|
||||||
modules = [
|
modules = [
|
||||||
# Needed for nix-index
|
# Needed for nix-index
|
||||||
{ nix.nixPath = [ "nixpkgs=${nixpkgs}" ]; }
|
{ nix.nixPath = [ "nixpkgs=${nixpkgs}" ]; }
|
||||||
|
|
@ -72,10 +64,6 @@ outputs = {nixpkgs, nixpkgs-unstable, agenix, home-manager, home-manager-unstabl
|
||||||
|
|
||||||
Everest = nixpkgs.lib.nixosSystem {
|
Everest = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = import nixpkgs {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
config = { allowUnfree = false; }; # TODO: Find why this doesn't work
|
|
||||||
};
|
|
||||||
modules = [
|
modules = [
|
||||||
# Needed for nix-index
|
# Needed for nix-index
|
||||||
{ nix.nixPath = [ "nixpkgs=${nixpkgs}" ]; }
|
{ nix.nixPath = [ "nixpkgs=${nixpkgs}" ]; }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue