From cd5bb0c381987f434afc1f6a457f26df9697f196 Mon Sep 17 00:00:00 2001 From: DemonKingSwarn Date: Mon, 20 Apr 2026 02:16:52 +0530 Subject: initial config --- home.nix | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 home.nix (limited to 'home.nix') diff --git a/home.nix b/home.nix new file mode 100644 index 0000000..d6b6af6 --- /dev/null +++ b/home.nix @@ -0,0 +1,51 @@ +{ config, pkgs, inputs, ... }: + +{ + imports = [ + ./config/zsh.nix + ]; + + home.username = "swarn"; + home.homeDirectory = "/home/swarn"; + + home.stateVersion = "25.11"; + + home.packages = [ + inputs.hypr-wellbeing.packages.${pkgs.system}.default + ]; + + home.file = { + # # Building this configuration will create a copy of 'dotfiles/screenrc' in + # # the Nix store. Activating the configuration will then make '~/.screenrc' a + # # symlink to the Nix store copy. + # ".screenrc".source = dotfiles/screenrc; + + # # You can also set the file content immediately. + # ".gradle/gradle.properties".text = '' + # org.gradle.console=verbose + # org.gradle.daemon.idletimeout=3600000 + # ''; + }; + + home = { + sessionPath = [ + "${config.home.homeDirectory}/.local/bin" + "${config.home.homeDirectory}/.local/bin/statusbar" + "${config.home.homeDirectory}/.local/share/cargo/bin" + "${config.home.homeDirectory}/.nix-profile/bin" + "${config.home.homeDirectory}/Applications" + "${config.home.homeDirectory}/dox/jai/bin" + ]; + + sessionVariables = { + EDITOR = "nvim"; + BROWSER = "helium-browser"; + TERMINAL = "ghostty"; + + ZDOTDIR = "${config.home.homeDirectory}/.config/zsh"; + }; + }; + + programs.home-manager.enable = true; + systemd.user.startServices = "sd-switch"; +} -- cgit v1.1