76 lines
2 KiB
Nix
76 lines
2 KiB
Nix
{
|
|
description = "MartyTF's NixOS Configuration";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
elephant.url = "github:abenz1267/elephant";
|
|
walker = {
|
|
url = "github:abenz1267/walker";
|
|
inputs.elephant.follows = "elephant";
|
|
};
|
|
nixos-cli.url = "github:nix-community/nixos-cli";
|
|
zen-browser = {
|
|
url = "github:youwen5/zen-browser-flake";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
hyprland.url = "github:hyprwm/Hyprland";
|
|
|
|
hyprland-plugins = {
|
|
url = "github:hyprwm/hyprland-plugins";
|
|
inputs.hyprland.follows = "hyprland";
|
|
};
|
|
};
|
|
|
|
outputs =
|
|
inputs@{
|
|
self,
|
|
nixpkgs,
|
|
home-manager,
|
|
walker,
|
|
nixos-cli,
|
|
zen-browser,
|
|
...
|
|
}:
|
|
let
|
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
|
in
|
|
{
|
|
nixosConfigurations = {
|
|
marty-latitude = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./hosts/marty-latitude
|
|
./configuration.nix
|
|
home-manager.nixosModules.home-manager
|
|
nixos-cli.nixosModules.nixos-cli
|
|
];
|
|
};
|
|
marty-pc = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./hosts/marty-pc
|
|
./configuration.nix
|
|
home-manager.nixosModules.home-manager
|
|
nixos-cli.nixosModules.nixos-cli
|
|
];
|
|
};
|
|
marty-server = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./hosts/marty-server
|
|
./configuration.nix
|
|
home-manager.nixosModules.home-manager
|
|
nixos-cli.nixosModules.nixos-cli
|
|
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|