chore: initial commit

This commit is contained in:
Glen Goodwin 2023-06-06 23:58:36 -04:00
commit cc4f3398ff
37 changed files with 2210 additions and 0 deletions

43
flake.nix Normal file
View file

@ -0,0 +1,43 @@
{
description = "My Nix Config";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprland = {
# Official Hyprland flake
url = "github:vaxerski/Hyprland"; # Add "hyprland.nixosModules.default" to the host modules
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs @ { self, nixpkgs, home-manager, hyprland, ... }:
let
system = "x86_64-linux";
user = "glen";
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
lib = nixpkgs.lib;
in
{
nixosConfigurations = (
import ./hosts {
inherit (nixpkgs) lib;
inherit inputs user system home-manager hyprland;
}
);
};
}