38 lines
914 B
Nix
38 lines
914 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";
|
|
};
|
|
};
|
|
|
|
outputs = { nixpkgs, home-manager, hyprland, ... }:
|
|
let
|
|
system = "x86_64-linux";
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
};
|
|
lib = nixpkgs.lib;
|
|
mkConf = import ./lib/mkconf.nix;
|
|
|
|
user = "tristan";
|
|
userName = "Tristan Beedell";
|
|
in
|
|
{
|
|
nixosConfigurations = {
|
|
zenix = mkConf "zenix" {
|
|
inherit pkgs nixpkgs system user userName home-manager hyprland;
|
|
};
|
|
FCS-Tristan-Nixbook = mkConf "work" {
|
|
inherit pkgs nixpkgs system user userName home-manager hyprland;
|
|
work = true;
|
|
};
|
|
};
|
|
};
|
|
}
|