nix/flake.nix
2023-12-11 10:06:57 +00:00

36 lines
894 B
Nix

{
description = "A flake using my config";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprland = {
url = "github:hyprwm/Hyprland";
};
stylix.url = "github:danth/stylix";
};
outputs = { nixpkgs, home-manager, hyprland, stylix, ... } @inputs :
let
system = "x86_64-linux";
lib = nixpkgs.lib;
mkConf = import ./lib/mkconf.nix;
user = "tristan";
userName = "Tristan Beedell";
in
{
nixosConfigurations = {
zenix = mkConf "zenix" {
inherit inputs nixpkgs system user userName home-manager;
};
FCS-Tristan-Nixbook = mkConf "work" {
inherit inputs nixpkgs system user userName home-manager;
work = true;
};
};
};
}