89 lines
2.8 KiB
Nix
89 lines
2.8 KiB
Nix
{
|
|
description = "maowwww";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
|
home-manager.url = "github:nix-community/home-manager";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
waterfox.url = "github:Hythera/nix-waterfox";
|
|
nixpkgs-xr.url = "github:nix-community/nixpkgs-xr";
|
|
nix-index-database.url = "github:nix-community/nix-index-database";
|
|
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
|
|
mangowc.url = "github:mangowm/mango";
|
|
mangowc.inputs.nixpkgs.follows = "nixpkgs";
|
|
bar-rs.url = "github:cydiralis/bar-rs";
|
|
};
|
|
|
|
outputs = inputs@{self, nixpkgs, home-manager, nixpkgs-xr, nix-index-database, ...}:{
|
|
nixosConfigurations."fenix" = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./hosts/fenix
|
|
./variables.nix
|
|
{ config.var.username = "maya";
|
|
config.var.timezone = "Etc/GMT-8";
|
|
config.var.hostname = "fenix";
|
|
config.var.class = "desktop"; }
|
|
home-manager.nixosModules.home-manager {
|
|
home-manager.extraSpecialArgs = {
|
|
inherit inputs;
|
|
vars = {
|
|
class = "desktop";
|
|
user = "maya";
|
|
};
|
|
};
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.sharedModules = [{ imports = with inputs; [nix-index-database.homeModules.default];}];
|
|
home-manager.users.maya = ./home;
|
|
}
|
|
];
|
|
};
|
|
nixosConfigurations."apalapucia" = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./hosts/apalapucia
|
|
./variables.nix
|
|
nixpkgs-xr.nixosModules.nixpkgs-xr
|
|
{ config.var.username = "alyx";
|
|
config.var.hostname = "apalapucia";
|
|
config.var.timezone = "Europe/London";
|
|
config.var.class = "desktop";
|
|
}
|
|
home-manager.nixosModules.home-manager {
|
|
home-manager.extraSpecialArgs = {
|
|
inherit inputs;
|
|
};
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.sharedModules = [{ imports = with inputs; [nix-index-database.homeModules.default];}];
|
|
home-manager.users.alyx = ./home;
|
|
}
|
|
];
|
|
};
|
|
nixosConfigurations."calufrax" = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./hosts/calufrax
|
|
./variables.nix
|
|
{ config.var.username = "alyx";
|
|
config.var.hostname = "calufrax";
|
|
config.var.timezone = "Europe/London";
|
|
config.var.class = "desktop";
|
|
}
|
|
home-manager.nixosModules.home-manager {
|
|
home-manager.extraSpecialArgs = {
|
|
inherit inputs;
|
|
};
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.sharedModules = [{ imports = with inputs; [nix-index-database.homeModules.default];}];
|
|
home-manager.users.alyx = ./home;
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|