init: added flake.nix and shell home module

This commit is contained in:
Devyn Freet
2026-07-08 19:11:12 -04:00
parent e44fe413e0
commit 4164edf264
3 changed files with 123 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
{
description = "Core nixos and home-manager modules for use across systems";
inputs = {
nixpkgs.url = "nixpkgs/nixos-26.05";
home-manager = {
url = "github:nix-community/home-manager/release-26.05";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, home-manager }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
homeConfigurations = {
shell = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
./home/modules/shell.nix
];
};
};
};
}