64 lines
1.5 KiB
Nix
64 lines
1.5 KiB
Nix
{
|
|
description = "Master flake for Voidarc nix config";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
|
|
|
sls-steam = {
|
|
url = "github:AceSLS/SLSsteam";
|
|
};
|
|
|
|
elephant.url = "github:abenz1267/elephant";
|
|
walker = {
|
|
url = "github:abenz1267/walker";
|
|
inputs.elephant.follows = "elephant";
|
|
};
|
|
|
|
chataigne.url = "./modules/chataigne";
|
|
|
|
tree-sitter.url = "github:tree-sitter/tree-sitter?ref=8b8199775f96ca8642cf7860da46100875b38453";
|
|
|
|
doot.url = "github:voidarclabs/nixos.doot";
|
|
way-edges.url = "github:way-edges/way-edges";
|
|
otter-launcher.url = "github:kuokuo123/otter-launcher";
|
|
fsel.url = "github:Mjoyufull/fsel";
|
|
|
|
mesa-davinci.url = "github:nixos/nixpkgs?ref=599ddd2b79331c1e6153e1659bdaab65d62c4c82";
|
|
};
|
|
|
|
outputs =
|
|
{
|
|
self,
|
|
nixpkgs,
|
|
...
|
|
}@inputs:
|
|
let
|
|
system = "x86_64-linux";
|
|
|
|
hardwareConfig = import /etc/nixos/hardware-configuration.nix;
|
|
common = import ./configs/common.nix;
|
|
|
|
mkSystem =
|
|
extraModules:
|
|
nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
common
|
|
hardwareConfig
|
|
]
|
|
++ extraModules;
|
|
};
|
|
in
|
|
{
|
|
nixosConfigurations = {
|
|
mobile02 = mkSystem [ ./configs/configuration-laptop.nix ];
|
|
hackstation = mkSystem [
|
|
./configs/configuration-pc.nix
|
|
./modules/davinci/davinci.nix
|
|
./modules/i3/i3.nix
|
|
];
|
|
};
|
|
};
|
|
}
|