32 lines
1015 B
Nix
32 lines
1015 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "nixpkgs/nixos-23.05";
|
|
mozilla.url = "github:mozilla/nixpkgs-mozilla";
|
|
# hyprland.url = "github:hyprwm/Hyprland";
|
|
supercolor.url = "github:zoe-bat/supercolor";
|
|
kaokao.url = "github:zoe-bat/kaokao";
|
|
i3layouts-rofi.url = "github:zoe-bat/i3layouts-rofi";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
outputs = { self, nixpkgs, home-manager, supercolor, i3layouts-rofi, kaokao
|
|
, mozilla }@inputs:
|
|
let system = "x86_64-linux";
|
|
in {
|
|
nixosConfigurations.bat = nixpkgs.lib.nixosSystem {
|
|
system = system;
|
|
modules = [
|
|
({ config, pkgs, ... }: { nixpkgs.overlays = [ mozilla.overlays.rust ]; })
|
|
./configuration.nix
|
|
];
|
|
specialArgs = inputs;
|
|
};
|
|
homeConfigurations."zoe@bat" = home-manager.lib.homeManagerConfiguration {
|
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
|
modules = [ ];
|
|
};
|
|
};
|
|
}
|