99 lines
2.6 KiB
Nix
99 lines
2.6 KiB
Nix
{
|
|
|
|
description = "Autumn's multi-system configs";
|
|
|
|
inputs = {
|
|
#dev stuff
|
|
pydev.url ="./system/extras/pydev/";
|
|
currents.url = "github:autumnalmusing/currents/handler";
|
|
#regular flakes
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
lix.url = "https://git.lix.systems/lix-project/lix/archive/main.tar.gz";
|
|
lix.flake = false;
|
|
lix-module = {
|
|
url = "https://git.lix.systems/lix-project/nixos-module/archive/main.tar.gz";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
inputs.lix.follows = "lix";
|
|
};
|
|
home-manager.url = "github:nix-community/home-manager";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
nixos-wsl.url = "github:nix-community/NixOS-WSL/main";
|
|
};
|
|
|
|
outputs = {
|
|
self,
|
|
nixpkgs,
|
|
lix-module,
|
|
lix,
|
|
home-manager,
|
|
pydev,
|
|
currents,
|
|
nixos-wsl,
|
|
...
|
|
}@inputs:
|
|
|
|
let
|
|
system = "x86_64-linux";
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
timezone = "America/Denver";
|
|
locale = "en_US.UTF-8";
|
|
specialArgs = {
|
|
inherit inputs;
|
|
inherit system;
|
|
inherit timezone;
|
|
inherit locale;
|
|
};
|
|
in {
|
|
homeConfigurations = {
|
|
"autumn@yukigekko" = home-manager.lib.homeManagerConfiguration {
|
|
extraSpecialArgs = specialArgs;
|
|
pkgs = pkgs;
|
|
modules = [
|
|
./home/autumn/home.nix
|
|
./home/autumn/sysconfs/yukigekko.nix
|
|
];
|
|
};
|
|
"autumn@lesbos" = home-manager.lib.homeManagerConfiguration{
|
|
extraSpecialArgs = specialArgs;
|
|
pkgs = pkgs;
|
|
modules = [
|
|
./home/autumn/home.nix
|
|
./home-manager/autumn/sysconfs/lesbos.nix
|
|
];
|
|
};
|
|
"autumn@wsl-hive" = home-manager.lib.homeManagerConfiguration{
|
|
extraSpecialArgs = specialArgs;
|
|
pkgs = pkgs;
|
|
modules = [
|
|
./home/autumn/home.nix
|
|
./home/autumn/sysconfs/wsl-hive.nix
|
|
];
|
|
};
|
|
};
|
|
nixosConfigurations = {
|
|
"yukigekko" = nixpkgs.lib.nixosSystem{
|
|
system = system;
|
|
specialArgs = specialArgs;
|
|
modules = [
|
|
./system/yukigekko/configuration.nix
|
|
lix-module.nixosModules.default
|
|
];
|
|
};
|
|
"lesbos" = nixpkgs.lib.nixosSystem{
|
|
system = system;
|
|
specialArgs = specialArgs;
|
|
modules = [
|
|
./system/lesbos/configuration.nix
|
|
];
|
|
};
|
|
"wsl-hive" = nixpkgs.lib.nixosSystem{
|
|
specialArgs = specialArgs;
|
|
system = system;
|
|
modules = [
|
|
./system/wsl-hive/configuration.nix
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|