87 lines
2.2 KiB
Nix
87 lines
2.2 KiB
Nix
{
|
|
description = "grey's custom NixOS config";
|
|
|
|
inputs = {
|
|
nixpkgs = {
|
|
url = "github:nixos/nixpkgs/nixos-26.05";
|
|
};
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-26.05";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
nh = {
|
|
url = "github:nix-community/nh";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
stylix = {
|
|
url = "github:nix-community/stylix/release-26.05";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
zen-browser = {
|
|
url = "github:0xc000022070/zen-browser-flake";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
inputs.home-manager.follows = "home-manager";
|
|
};
|
|
|
|
firefox-addons = {
|
|
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
plasma-manager = {
|
|
url = "github:nix-community/plasma-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
inputs.home-manager.follows = "home-manager";
|
|
};
|
|
|
|
noctalia = {
|
|
url = "github:noctalia-dev/noctalia";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
spicetify = {
|
|
url = "github:Gerg-L/spicetify-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
nixos-millennium = {
|
|
url = "git+https://git.greyweather.dev/greyweather/nixos-millennium";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = {self,nixpkgs,home-manager,plasma-manager,stylix,...}@inputs: {
|
|
nixosConfigurations = builtins.listToAttrs (map (name: {
|
|
inherit name;
|
|
value = nixpkgs.lib.nixosSystem {
|
|
modules = [
|
|
./hosts/${name}
|
|
stylix.nixosModules.stylix
|
|
home-manager.nixosModules.default {
|
|
home-manager = {
|
|
useGlobalPkgs = true;
|
|
useUserPackages = true;
|
|
users.grey = ./hosts/${name}/home.nix;
|
|
extraSpecialArgs = {
|
|
inherit inputs;
|
|
hostname = name;
|
|
stateVersion = "26.05";
|
|
};
|
|
};
|
|
}
|
|
];
|
|
specialArgs = {
|
|
inherit inputs;
|
|
hostname = name;
|
|
system = "x86-64-linux";
|
|
stateVersion = "26.05";
|
|
};
|
|
};
|
|
}) ["takamaki" "kitagawa" "nixos-vm"]);
|
|
};
|
|
}
|