This commit is contained in:
Bryan Ramos 2023-03-22 00:11:44 -04:00
commit a79fc67d37
647 changed files with 123931 additions and 0 deletions

43
flake.nix Normal file
View file

@ -0,0 +1,43 @@
{
description = "Modular NixOS Config";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
home-manager = {
url = "github:nix-community/home-manager/release-22.11";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, home-manager }:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config = {
allowUnfree = true;
};
};
in
{
nixosConfigurations.socrates = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
./sysConfig
];
};
homeConfigurations.bryan = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
./homeConfig/home.nix
];
};
};
}