44 lines
1.1 KiB
Nix
44 lines
1.1 KiB
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";
|
|
};
|
|
stylix.url = "github:danth/stylix";
|
|
hyprland.url = "github:hyprwm/Hyprland";
|
|
hycov = {
|
|
url = "github:DreamMaoMao/hycov";
|
|
inputs.hyprland.follows = "hyprland";
|
|
};
|
|
};
|
|
|
|
outputs = {
|
|
nixpkgs,
|
|
home-manager,
|
|
stylix,
|
|
...
|
|
} @ inputs: let
|
|
system = "x86_64-linux";
|
|
mkConf = import ./lib/mkconf.nix;
|
|
pkgs = import nixpkgs {inherit system;};
|
|
user = "tristan";
|
|
userName = "Tristan Beedell";
|
|
in {
|
|
formatter.${system} = pkgs.alejandra;
|
|
nixosConfigurations = {
|
|
zenix = mkConf "zenix" {
|
|
inherit inputs nixpkgs system user userName home-manager;
|
|
};
|
|
vm = mkConf "vm" {
|
|
inherit inputs nixpkgs system user userName home-manager;
|
|
};
|
|
FCS-Tristan-Nixbook = mkConf "work" {
|
|
inherit inputs nixpkgs system user userName home-manager;
|
|
work = true;
|
|
};
|
|
};
|
|
};
|
|
}
|