2021-12-11 14:21:48 +01:00
|
|
|
{
|
2021-12-11 14:44:46 +01:00
|
|
|
description = "Andreas Zweili's Nixos configuration";
|
|
|
|
|
|
|
|
inputs = {
|
2021-12-11 15:21:01 +01:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-21.11";
|
2021-12-11 14:44:46 +01:00
|
|
|
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
2021-12-11 15:21:01 +01:00
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
2021-12-11 15:42:32 +01:00
|
|
|
nixos-hardware.url = "github:nixos/nixos-hardware";
|
2021-12-11 14:44:46 +01:00
|
|
|
home-manager = {
|
2021-12-11 15:21:01 +01:00
|
|
|
url = "github:nix-community/home-manager/release-21.11";
|
2021-12-11 14:44:46 +01:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-12-11 15:42:32 +01:00
|
|
|
outputs =
|
|
|
|
inputs @ { self
|
|
|
|
, nixpkgs
|
|
|
|
, nixpkgs-unstable
|
|
|
|
, nixos-hardware
|
|
|
|
, flake-utils
|
|
|
|
, home-manager
|
|
|
|
}: {
|
|
|
|
nixosConfigurations.gwyn = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
|
|
|
./hardware/precision/configuration.nix
|
|
|
|
nixos-hardware.nixosModules.dell-precision-5530
|
|
|
|
nixos-hardware.nixosModules.common-gpu-nvidia
|
|
|
|
];
|
|
|
|
};
|
2021-12-11 15:21:01 +01:00
|
|
|
};
|
2021-12-11 14:21:48 +01:00
|
|
|
}
|