Add flake inputs used by iogamaster

This commit is contained in:
2024-06-15 08:27:28 +02:00
parent ecc269ae37
commit c97f22254a
2 changed files with 1011 additions and 33 deletions

View File

@ -27,6 +27,54 @@
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
#### Iogamaster inputs
nixos-generators.url = "github:nix-community/nixos-generators";
nixos-generators.inputs.nixpkgs.follows = "nixpkgs";
# For nixd
flake-compat = {
url = "github:inclyc/flake-compat";
flake = false;
};
nix-darwin.url = "github:LnL7/nix-darwin";
nix-darwin.inputs.nixpkgs.follows = "nixpkgs";
impermanence.url = "github:nix-community/impermanence";
persist-retro.url = "github:Geometer1729/persist-retro";
# Home
neovim = {
url = "github:IogaMaster/neovim";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-colors.url = "github:Misterio77/nix-colors";
prism.url = "github:IogaMaster/prism";
# Deployments
arion.url = "github:hercules-ci/arion";
arion.inputs.nixpkgs.follows = "nixpkgs";
disko.url = "github:nix-community/disko";
disko.inputs.nixpkgs.follows = "nixpkgs";
deploy-rs.url = "github:serokell/deploy-rs";
deploy-rs.inputs.nixpkgs.follows = "nixpkgs";
nix-topology.url = "github:oddlama/nix-topology";
microvm.url = "github:astro/microvm.nix";
microvm.inputs.nixpkgs.follows = "nixpkgs";
# Misc
nix-ld.url = "github:Mic92/nix-ld";
nix-ld.inputs.nixpkgs.follows = "nixpkgs";
dzgui-nix = {
url = "github:lelgenio/dzgui-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
flux.url = "github:IogaMaster/flux";
};
outputs =
@ -37,7 +85,14 @@
src = ./.;
# Add overlays for the `nixpkgs` channel.
overlays = with inputs; [ nix-matlab.overlay ];
overlays = with inputs; [
nix-matlab.overlay
# iogamaster overlays
neovim.overlays.x86_64-linux.neovim
nix-topology.overlays.default
flux.overlays.default
];
snowfall = {
# The root of the snowfall config
@ -60,12 +115,19 @@
# Allow certain insecure packages
permittedInsecurePackages = [ ];
# Additional configuration for specific packages.
config = {
# For example, enable smartcard support in Firefox.
# firefox.smartcardSupport = true;
};
};
topology =
with inputs;
let
host = self.nixosConfigurations.${builtins.head (builtins.attrNames self.nixosConfigurations)};
in
import nix-topology {
inherit (host) pkgs; # Only this package set must include nix-topology.overlays.default
modules = [
(import ./topology { inherit (host) config; })
{ inherit (self) nixosConfigurations; }
];
};
};
}