aboutsummaryrefslogtreecommitdiff
path: root/home.nix
diff options
context:
space:
mode:
authorDemonKingSwarn <rockingswarn@gmail.com>2026-04-20 02:16:52 +0530
committerDemonKingSwarn <rockingswarn@gmail.com>2026-04-20 02:16:52 +0530
commitcd5bb0c381987f434afc1f6a457f26df9697f196 (patch)
treea5b3579d4142f231f178a841bfd8519a94aa1a6d /home.nix
downloadodysseus-cd5bb0c381987f434afc1f6a457f26df9697f196.zip
odysseus-cd5bb0c381987f434afc1f6a457f26df9697f196.tar.gz
initial config
Diffstat (limited to 'home.nix')
-rw-r--r--home.nix51
1 files changed, 51 insertions, 0 deletions
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";
+}