79 lines
2.4 KiB
Nix
79 lines
2.4 KiB
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
|
snowfall-lib.url = "github:snowfallorg/lib";
|
|
snowfall-lib.inputs.nixpkgs.follows = "nixpkgs";
|
|
sops-nix.url = "github:Mic92/sops-nix";
|
|
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
|
|
lix-module.url = "https://git.lix.systems/lix-project/nixos-module/archive/2.91.1-1.tar.gz";
|
|
lix-module.inputs.nixpkgs.follows = "nixpkgs";
|
|
home-manager.url = "github:nix-community/home-manager";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
nix-minecraft.url = "github:Infinidoge/nix-minecraft";
|
|
nix-minecraft.inputs.nixpkgs.follows = "nixpkgs";
|
|
nixos-generators.url = "github:nix-community/nixos-generators";
|
|
nixos-generators.inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
outputs = inputs: inputs.snowfall-lib.mkFlake {
|
|
inherit inputs;
|
|
src = ./.;
|
|
|
|
channels-config.allowUnfree = false;
|
|
supportedSystems = inputs.snowfall-lib.inputs.flake-utils-plus.lib.defaultSystems ++ ["i686-linux"];
|
|
|
|
nix.gc = {
|
|
automatic = true;
|
|
options = "--delete-older-than 30d";
|
|
};
|
|
nix.optimise.automatic = true;
|
|
|
|
# Modules for Host HyperC
|
|
systems.hosts.HyperC.modules = with inputs; [
|
|
lix-module.nixosModules.default
|
|
];
|
|
|
|
# Modules for Host voloxo
|
|
systems.hosts.voloxo.modules = with inputs; [
|
|
lix-module.nixosModules.default
|
|
];
|
|
|
|
# Modules for Host kb-game-01
|
|
systems.hosts.kb-game-01.modules = with inputs; [
|
|
lix-module.nixosModules.default
|
|
];
|
|
|
|
# Modules for Host LANA7Z
|
|
systems.hosts.LANA9Z.modules = with inputs; [
|
|
lix-module.nixosModules.default
|
|
];
|
|
|
|
# Modules for Host LoyAdjo
|
|
systems.hosts.LoyAdjo.modules = with inputs; [
|
|
lix-module.nixosModules.default
|
|
];
|
|
|
|
# Modules for Host Rubtrm
|
|
systems.hosts.Rubtrm.modules = with inputs; [
|
|
# lix-module.nixosModules.default
|
|
];
|
|
|
|
# Modules that get imported to every NixOS system
|
|
systems.modules.nixos = with inputs; [
|
|
sops-nix.nixosModules.sops
|
|
];
|
|
|
|
outputs-builder = channels: { formatter = channels.nixpkgs.nixfmt-rfc-style; };
|
|
|
|
};
|
|
|
|
# outputs = { self, nixpkgs, ... }@inputs: {
|
|
# nixosConfigurations."Rubtrm" = nixpkgs.lib.nixosSystem {
|
|
# system = "i686-linux";
|
|
# modules = [ ./systems/i686-linux/Rubtrm/default.nix ];
|
|
# };
|
|
# };
|
|
|
|
}
|
|
|