summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorCori Barker <coribarker2@gmail.com>2026-06-29 20:42:37 +0100
committerCori Barker <coribarker2@gmail.com>2026-06-29 20:42:37 +0100
commitcc6d5127c8b71a13222ba7f69b822507a2284cec (patch)
treea62d267abb8f03519c11a845667c37e50b52eaa8 /flake.nix
Initial Commit
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 0000000..73a3331
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,29 @@
+{
+ description = "My Home Manager";
+
+ inputs = {
+ nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
+
+ home-manager = {
+ url = "github:nix-community/home-manager";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
+ };
+
+ outputs = { nixpkgs, home-manager, ... }:
+ let
+ system = "x86_64-linux";
+
+ pkgs = import nixpkgs {
+ inherit system;
+ config.allowUnfree = true;
+ };
+ in {
+ homeConfigurations.cori = home-manager.lib.homeManagerConfiguration {
+ inherit pkgs;
+ modules = [
+ ./home.nix
+ ];
+ };
+ };
+}