aboutsummaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2024-09-17 10:12:18 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2024-09-17 10:12:18 +0530
commitcbd5b66b89fba2ad23a9da7372cf916305efad1f (patch)
tree0a5580244e3fe87b05c581681e558925d0635ad7 /flake.nix
downloadhome-manager-config-cbd5b66b89fba2ad23a9da7372cf916305efad1f.tar.gz
home-manager-config-cbd5b66b89fba2ad23a9da7372cf916305efad1f.zip
Initial commit.
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 0000000..7824c4b
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,26 @@
+{
+ description = "Home Manager configuration of arpit";
+
+ inputs = {
+ nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
+ home-manager = {
+ url = "github:nix-community/home-manager";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
+ stylix.url = "github:danth/stylix";
+ };
+
+ outputs = { nixpkgs, home-manager, stylix, ... }:
+ let
+ system = "x86_64-linux";
+ pkgs = nixpkgs.legacyPackages.${system};
+ in {
+ homeConfigurations."arpit" = home-manager.lib.homeManagerConfiguration {
+ inherit pkgs;
+ modules = [
+ ./home.nix
+ stylix.homeManagerModules.stylix
+ ];
+ };
+ };
+}