64 lines
2.2 KiB
Nix
64 lines
2.2 KiB
Nix
{
|
|
description = "a shared collection of dots by cydiralis and beanigen";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
home-manager.url = "github:nix-community/home-manager";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
catppuccin.url = "github:catppuccin/nix";
|
|
nixpkgs-xr.url = "github:nix-community/nixpkgs-xr";
|
|
nixvim.url = "github:nix-community/nixvim";
|
|
niri.url = "github:sodiboo/niri-flake";
|
|
nix-index-database.url = "github:nix-community/nix-index-database";
|
|
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
|
|
system-manager.url = "github:numtide/system-manager";
|
|
system-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
nix-system-graphics.url = "github:soupglasses/nix-system-graphics";
|
|
nix-system-graphics.inputs.nixpkgs.follows = "nixpkgs";
|
|
jovian.url = "github:Jovian-Experiments/Jovian-NixOS";
|
|
};
|
|
|
|
outputs = inputs@{ self, nixpkgs, home-manager, system-manager, niri, nixpkgs-xr, jovian, ...}:{
|
|
nixosConfigurations."Absolution" = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./base/Absolution
|
|
nixpkgs-xr.nixosModules.nixpkgs-xr
|
|
home-manager.nixosModules.home-manager {
|
|
home-manager.extraSpecialArgs = {
|
|
inherit inputs;
|
|
vars = {
|
|
isNixOS = true;
|
|
class = "desktop";
|
|
user = "alyx";
|
|
};
|
|
};
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.users.alyx = ./home;
|
|
}
|
|
];
|
|
};
|
|
nixosConfigurations."apollo" = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./base/apollo
|
|
nixpkgs-xr.nixosModules.nixpkgs-xr
|
|
home-manager.nixosModules.home-manager {
|
|
home-manager.extraSpecialArgs = {
|
|
inherit inputs;
|
|
vars = {
|
|
isNixOS = true;
|
|
class = "desktop";
|
|
user = "maya";
|
|
useSyncthing = true;
|
|
};
|
|
};
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPkgs = true;
|
|
home-manager.users.maya = ./home;
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|