aux-config/flake.nix

80 lines
2.4 KiB
Nix
Raw Normal View History

2024-06-07 13:49:42 +02:00
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
2024-11-12 23:44:38 +01:00
snowfall-lib.url = "github:snowfallorg/lib";
snowfall-lib.inputs.nixpkgs.follows = "nixpkgs";
2024-09-06 17:05:12 +02:00
sops-nix.url = "github:Mic92/sops-nix";
2024-09-06 17:06:54 +02:00
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
2024-11-12 23:44:38 +01:00
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";
2024-11-12 23:44:38 +01:00
nix-minecraft.url = "github:Infinidoge/nix-minecraft";
nix-minecraft.inputs.nixpkgs.follows = "nixpkgs";
2024-12-11 01:00:48 +01:00
nixos-generators.url = "github:nix-community/nixos-generators";
nixos-generators.inputs.nixpkgs.follows = "nixpkgs";
2024-06-07 13:49:42 +02:00
};
2024-11-12 23:44:38 +01:00
outputs = inputs: inputs.snowfall-lib.mkFlake {
inherit inputs;
src = ./.;
channels-config.allowUnfree = false;
2024-12-11 23:53:25 +01:00
supportedSystems = inputs.snowfall-lib.inputs.flake-utils-plus.lib.defaultSystems ++ ["i686-linux"];
2024-11-12 23:44:38 +01:00
nix.gc = {
automatic = true;
options = "--delete-older-than 30d";
2024-06-07 13:49:42 +02:00
};
2024-11-12 23:44:38 +01:00
nix.optimise.automatic = true;
# Modules for Host HyperC
systems.hosts.HyperC.modules = with inputs; [
lix-module.nixosModules.default
];
2024-11-14 01:42:17 +01:00
# Modules for Host voloxo
2024-11-12 23:44:38 +01:00
systems.hosts.voloxo.modules = with inputs; [
lix-module.nixosModules.default
2024-11-12 23:44:38 +01:00
];
2025-01-26 02:31:01 +01:00
# Modules for Host kb-game-01
2025-01-01 22:51:10 +01:00
systems.hosts.kb-game-01.modules = with inputs; [
lix-module.nixosModules.default
];
2025-02-06 23:47:37 +01:00
# 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
2024-11-14 01:42:17 +01:00
];
2024-11-12 23:44:38 +01:00
# Modules that get imported to every NixOS system
systems.modules.nixos = with inputs; [
sops-nix.nixosModules.sops
2024-11-12 23:44:38 +01:00
];
outputs-builder = channels: { formatter = channels.nixpkgs.nixfmt-rfc-style; };
};
2024-12-10 19:40:11 +01:00
2024-12-11 23:53:25 +01:00
# outputs = { self, nixpkgs, ... }@inputs: {
# nixosConfigurations."Rubtrm" = nixpkgs.lib.nixosSystem {
# system = "i686-linux";
# modules = [ ./systems/i686-linux/Rubtrm/default.nix ];
# };
# };
2024-06-07 13:49:42 +02:00
}