mirror of
https://codeberg.org/geekygays/nixconf.git
synced 2024-11-04 23:57:12 +00:00
65 lines
1.6 KiB
Nix
65 lines
1.6 KiB
Nix
{
|
|
description = "geekygay shared NixOS config";
|
|
|
|
nixConfig = {
|
|
extra-substituters = [ "https://cache.ztier.in" ];
|
|
extra-trusted-public-keys = [ "cache.ztier.link-1:3P5j2ZB9dNgFFFVkCQWT3mh0E+S3rIWtZvoql64UaXM=" ];
|
|
};
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:geekygays/nixpkgs";
|
|
nixos-hardware.url = "github:nixos/nixos-hardware";
|
|
systems.url = "github:geekygays/systems";
|
|
|
|
flake-utils = {
|
|
url = "github:numtide/flake-utils";
|
|
inputs.systems.follows = "systems";
|
|
};
|
|
|
|
flake-utils-plus = {
|
|
url = "github:gytis-ivaskevicius/flake-utils-plus";
|
|
inputs.flake-utils.follows = "flake-utils";
|
|
};
|
|
|
|
nixos-generators = {
|
|
url = "github:nix-community/nixos-generators";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
disko = {
|
|
url = "github:nix-community/disko";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
snowfall-lib = {
|
|
url = "github:snowfallorg/lib";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
inputs.flake-utils-plus.follows = "flake-utils-plus";
|
|
};
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = inputs: inputs.snowfall-lib.mkFlake {
|
|
inherit inputs;
|
|
|
|
snowfall.namespace = "geekygay";
|
|
channels-config.allowUnfree = true;
|
|
|
|
systems.modules.nixos = with inputs; [
|
|
home-manager.nixosModules.home-manager
|
|
disko.nixosModules.disko
|
|
];
|
|
|
|
systems.hosts.magrathea.modules = with inputs; [
|
|
nixos-hardware.nixosModules.starfive-visionfive-2
|
|
];
|
|
|
|
templates.shim.description = "/etc/nixos shim for geekygay nixconf";
|
|
|
|
src = ./.;
|
|
};
|
|
}
|