nixos-config/flake.nix

36 lines
901 B
Nix
Raw Normal View History

2022-06-17 15:00:08 +00:00
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
nixos-hardware.url = "github:mandlm/nixos-hardware/p330";
2024-01-12 22:31:01 +00:00
2022-06-17 15:00:08 +00:00
};
outputs = { nixpkgs, nixos-hardware, ... }:
2022-06-17 15:00:08 +00:00
{
2022-06-26 13:03:45 +00:00
nixosConfigurations = {
2022-08-25 18:42:40 +00:00
yoga = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
2023-09-25 12:18:11 +00:00
./greetd.nix
2022-08-25 18:42:40 +00:00
./users.nix
./machines/yoga/configuration.nix
./machines/yoga/hardware-configuration.nix
];
};
2024-01-12 22:31:01 +00:00
xps = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
./greetd.nix
./users.nix
./machines/xps/configuration.nix
./machines/xps/hardware-configuration.nix
nixos-hardware.nixosModules.dell-xps-13-9320
];
};
2022-06-17 15:00:08 +00:00
};
};
}