feat: attempts to add spaceport

This commit is contained in:
2024-04-25 06:08:43 +00:00
parent e6411a27af
commit a2db12bcf3
4 changed files with 17 additions and 14 deletions

View File

@@ -25,11 +25,18 @@
url = "github:micangl/cmp-vimtex/master";
flake = false;
};
spaceport-nvim = {
url = "github:CWood-sdf/spaceport.nvim/master";
flake = false;
};
};
outputs = { self, nixpkgs, homeManager, NixOS-WSL, nixpkgs-23-11, homeManager-23-11, cmp-vimtex, ...}@inputs:
outputs = { self, nixpkgs, homeManager, NixOS-WSL, nixpkgs-23-11, homeManager-23-11, cmp-vimtex, spaceport-nvim, ...}@inputs:
let
customPackageOverlay = import ./overlays/cmp-vimtex.nix { inherit cmp-vimtex; };
customPackageOverlays = [
(import ./overlays/cmp-vimtex.nix { inherit cmp-vimtex; }).overlay
(import ./overlays/spaceport.nix { inherit spaceport-nvim; }).overlay
];
in
{
nixosConfigurations = (
@@ -42,7 +49,7 @@
inherit nixpkgs-23-11;
inherit homeManager-23-11;
inherit cmp-vimtex;
inherit customPackageOverlay;
inherit customPackageOverlays;
}
);

View File

@@ -1,9 +1,9 @@
{ lib, inputs, nixpkgs-23-11, homeManager, homeManager-23-11, NixOS-WSL, customPackageOverlay, ... }:
{ lib, inputs, nixpkgs-23-11, homeManager, homeManager-23-11, NixOS-WSL, customPackageOverlays, ... }:
{
"maxos" = lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
inherit customPackageOverlay;
inherit customPackageOverlays;
};
modules = [
./maxos/configuration.nix
@@ -23,7 +23,7 @@
"nixosWSL" = nixpkgs-23-11.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
inherit customPackageOverlay;
inherit customPackageOverlays;
};
modules = [
./nixosWSL/configuration.nix

View File

@@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ pkgs, customPackageOverlay, ... }:
{ pkgs, customPackageOverlays, ... }:
let
custom-fonts = import ../../fonts { inherit pkgs; };
@@ -109,9 +109,7 @@ in
programs.zsh.enable = true;
nixpkgs.config.allowUnfree = true;
nixpkgs.overlays = [
customPackageOverlay.overlay
];
nixpkgs.overlays = customPackageOverlays;
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.

View File

@@ -1,4 +1,4 @@
{ pkgs, customPackageOverlay, modulesPath, ... }:
{ pkgs, customPackageOverlays, modulesPath, ... }:
let
custom-fonts = import ../../fonts { inherit pkgs; };
@@ -35,9 +35,7 @@ in
'';
nixpkgs.overlays = [
customPackageOverlay.overlay
];
nixpkgs.overlays = customPackageOverlays;
system.stateVersion = "22.05";